nerdexam
CompTIA

XK0-005 · Question #782

User1 reports "access denied" errors while trying to execute app. Given the following outputs: Which of the following options will remediate this issue?

The correct answer is A. Providing execute permissions to user1 in the ACL. The output shows ACL (Access Control List) entries on the file. Even though the standard Unix permissions may appear to grant access, ACLs can grant or restrict permissions on a per-user basis that override group or 'other' permissions. Since user1 is denied execution, the…

Troubleshooting

Question

User1 reports "access denied" errors while trying to execute app. Given the following outputs:

Which of the following options will remediate this issue?

Options

  • AProviding execute permissions to user1 in the ACL
  • BModifying the permissions for others to grant read, write, and execute
  • CAdding user1 to the wheel group
  • DMoving to a different folder

How the community answered

(26 responses)
  • A
    88% (23)
  • B
    4% (1)
  • C
    8% (2)

Explanation

The output shows ACL (Access Control List) entries on the file. Even though the standard Unix permissions may appear to grant access, ACLs can grant or restrict permissions on a per-user basis that override group or 'other' permissions. Since user1 is denied execution, the targeted fix is to add or modify an ACL entry for user1 to include execute permission (e.g., 'setfacl -m u:user1:x app'). Option B is overly permissive. Option C (wheel group) grants sudo/admin rights, which is unrelated. Option D (moving folders) does not fix the ACL-based denial.

Topics

#File Permissions#ACLs#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice