Professional Documents
Culture Documents
Practical No 7 (OSY)
Practical No 7 (OSY)
4. Assign all the permissions to your directory for all the users using symbolic and octal
method.
Ans:
chmod 777/ home => octal method
Where 7 => read, write and execute
(4) + (2) + (1)
d) Remove the write permission for the owner for ‘sample’ using symbolic method.
Chmod u__w_sample
7. What are the permissions assigned to the file/files after execution of following commands?
a) $chmod 700 abc
Assign read, write and execute permission to user for file abc.
1 IF Department
[Type the document title]
c) $chmod 536 xyz
Assign write and execute to user read and execute to group and read and write to
other.
9. Assign read and write permission for the owner, write permission for the group and
execute permission for others using octal method for file mfile.
Ans:
$chmod 62: mfile
The above command will assign read and write permission to user write permission to
group and execute permission to other.
2 IF Department