Question 580
A user has read permission on a directory but cannot reach a known file path within it. One student proposes Grant appropriate execute permission on the directory after authorization and another proposes Run ls -l target.txt. Which technical comparison is the soundest?
Explanation
Correct Answer
Correct distinction: Grant appropriate execute permission on the directory after authorization targets directory traverse permission; Directory execute permission permits path traversal or searching entries by name. The compared alternative instead serves inspect rwx permission bits.
Incorrect Answers
Incorrect mapping: Run ls -l target.txt is used for inspect rwx permission bits. It does not displace Grant appropriate execute permission on the directory after authorization for the described requirement.
The mechanisms are different: Directory execute permission permits path traversal or searching entries by name. By contrast, The long listing displays the rwx mode string and owner/group columns. They are not universally interchangeable.
The third option addresses make owner script executable: The symbolic u+x form adds execute permission for the owning user. The original action remains relevant because Directory execute permission permits path traversal or searching entries by name.