TestOut Linux Pro Practice Test

Access More Questions
What should you modify to allow the other group to browse the /sales directory?
Correct Answer:
chmod o+rx /sales
Explanation:
To enable the other group to browse the /sales directory, the appropriate action is to modify the permissions of that directory itself. When using the command `chmod o+rx /sales`, you are granting read and execute permissions to others (the 'o' represents others) for the /sales directory. Execute permission allows users to enter the directory, while read permission allows them to list the files within that directory. Therefore, by adding both permissions, you ensure that any user not part of the owner group or the group associated with the directory can still navigate into /sales and see its contents. The other options don't correctly achieve the intended goal. For instance, granting permissions to individual files within the directory (as in another option) does not grant access to the directory itself. Additionally, changing the ownership of the directory or adjusting group permissions may not suffice if the intent is to allow all users outside the current group to have access. Thus, modifying the permissions for others on the directory itself is the most effective and direct approach.

Access more questions from this quiz

Continue to TestOut Linux Pro Practice Test for more practice questions and the full quiz experience.

Access More Questions