User brian changes the permissions for db_data this command:
chmod 4755 db_data
What is true?
A.
db_data now has permissions rwsr-xr-x and can be deleted only by user brian.
B.
db_data now has permissions rwsr-xr-x and, if executed, will inn with the permissions of user brian.
C.
db_data now has permissions rwxr-sr-x and can be deleted only by members of the group owning it.
D.
The permissions for db_data cannot be determined, because the permissions prior to the change have not
been specified.
E.
db_data must be an ordinary file, because special permissions cannot be set on a directory.
Explanation:
Use the chmod command to change permissions for a file or directory. You must be the owner of a file or
directory, or have root access, to change its permissions.
Here we do not know if brian owns db_data.
Note:
Permission
7 full
6 read and write
5 read and execute
4 read only
3 write and execute
2 write only
1 execute only
0 none
0 — no permission
1 –x execute
2 -w- write
3 -wx write and execute
4 r– read
5 r-x read and execute
6 rw- read and write
7 rwx read, write and execut
Solaris: Solaris Advanced User’s Guide