Linux Essentials (010-160) — Question 75
Which permissions are set on a regular file once the permissions have been modified with the command chmod 654 file.txt?
Answer options
- A. drw-r-xr--
- B. d-wxr-x--
- C. -wxr-x--x
- D. -rwxrw---x
- E. -rw-r-xr--
Correct answer: E
Explanation
The command chmod 654 sets the owner's permissions to read and write, the group's permissions to read and execute, and others to no permissions. Therefore, the correct option E (-rw-r-xr--) accurately represents these permissions, while the other options either add or remove permissions incorrectly.