Managing Folder Access Permissions | Cisco Security Technologies Exam

Set Folder Access Permissions for All Users | Cisco Security Technologies Exam

Question

Which command does an engineer use to set read/write/execute access on a folder for everyone who reaches the resource?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.

https://www.pluralsight.com/blog/it-ops/linux-file-permissions

The correct answer is option C, "chmod 775".

The "chmod" command is a Linux/Unix command that is used to change the file or directory permissions. The command is short for "change mode" and is followed by a 3-digit code that represents the permissions for the file or directory. The first digit represents the permissions for the owner, the second digit represents the permissions for the group, and the third digit represents the permissions for everyone else.

In this case, the engineer wants to set read/write/execute access on a folder for everyone who reaches the resource. The "7" in the third digit represents full permissions (read/write/execute), while the "5" in the second digit represents read and execute permissions. Therefore, the correct command to use is "chmod 775".

Option A, "chmod 666", would give read/write access to everyone, including the owner and group. This is not necessary in this case since the owner and group may not need full access to the folder.

Option B, "chmod 774", would give read/write access to the owner and group, but only read access to everyone else. This does not meet the requirement of providing execute access to everyone.

Option D, "chmod 777", would give full permissions to everyone, including the owner and group. Again, this is not necessary and could potentially be a security risk.