QuestionQ39

VerifiedNetwork Penetration Testing Methodology – Internal

Robert is a network administrator at XYZ Inc. He deployed a Linux server in the enterprise network and wants to share critical, sensitive files stored on that Linux server with his subordinates. He wants to use the chmod command to set file permissions so that subordinates can only read/view the files and cannot edit or delete them.

Which of the following chmod commands can Robert use to accomplish this objective?

Explanation

chmod 644 gives the file owner read and write permissions while giving group members and all other users read-only permission. This allows subordinates to view the file without changing its contents. File deletion is controlled by write permission on the containing directory, so the directory must also deny subordinates write access.

Community Discussion

No comments yet. Be the first to start the discussion!