TestOut Linux Pro Practice Test 2025 - Free Linux Pro Practice Questions and Study Guide

Question: 1 / 400

What should you modify to allow the other group to browse the /sales directory?

chmod o+rx /sales

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.

Get further explanation with Examzify DeepDiveBeta

chmod o+r /sales/*

chown sales /sales

chmod g+rx /sales

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy