Option C is correct.
In Unix the access control of file is done through chmod command. The command is Octal , the three rightmost are for _ _ _
First is for owner
Secod is for group
Third is for others
here rwx is read, write ,execute. They can take the value from 0 through 7 where
# |
Permission |
rwx |
7 |
read, write and execute |
rwx |
6 |
read and write |
rw- |
5 |
read and execute |
r-x |
4 |
read only |
r-- |
3 |
write and execute |
-wx |
2 |
write only |
-w- |
1 |
execute only |
--x |
0 |
none |
--- |
641-represent--> the owner can read and write the file, other members of the owner's group can read it, and users can execute only
100 ->the owner to execute the file , but prohibits all other access