The administrator of a Linux server uses the chmod 777 /usr/phones.txt command to assign permissions to a file that contains the company phone directory. What permissions are assigned with this command?
- All users have read permission to the file, but not write or execute.
- No users have write permission to the file, other than root.
- All users have read, write and execute permissions to the file.
- Only members of the administrators group can read, write, and execute the file.
Explanation & Hint:
There are two methods to set permissions on a file or directory using the command in Linux. The first is symbolic notation, which use the lettersto symbolize the read, write and execute permissions. The second method is to use absolute or octal permission settings. In absolute permission assignments, the 7 represents all three permissions: read, write and execute. The assignment 777 assigns full permissions to the owner, group, and other users. |