Nevillie is a user on a Linux-based network. He notices that someone has been accessing
a file called reports, in which he keeps proprietary company information. Which
command should Nevillie execute to secure the reports file from other users?
A.
Chmod 700 Report.
B.
Chmod 007 Report.
C.
Chmod 000 Report.
D.
Chmod 444 Report.
Explanation:
A 700 will grant the owner full access, but deny all access to the other
users.Incorrect Answers:
B: The 7 in 007 turns on all access to other users, and denies access to the owner of thefile. We
want to block the other user out, not let them in.
C: This will block out the other users, and even the owner creator. This goes a little toofar, as no
one can get into the file.
D: 444 grants everyone read-only access to the files. This does not prevent user access,and the
files can still be accessed.