Exam XK0-006 Topic 2 Question 22 Discussion

Actual exam question for CompTIA's XK0-006 exam
Question #: 22
Topic #: 2
User1 reports "access denied" errors while trying to execute app. Given the following outputs:

Which of the following options will remediate this issue?

Suggested Answer: A Vote an answer

According to the output of getfacl app, user1 has only "rw" (read and write) permissions, but lacks "x" (execute). Without execute permission, user1 cannot run the file. To allow user1 to execute app, you must update the ACL to add execute permission (e.g., setfacl -m u:user1:rwx app). Modifying "others" permissions (option B) is not secure or necessary, adding user1 to the wheel group (option C) is unrelated, and moving the file (option D) does not resolve permission issues.
Reference:
CompTIA Linux+ Study Guide: Exam XK0-006, Sybex, Chapter 7: "Securing Linux Systems", Section:
"Managing File and Directory Permissions and ACLs"
CompTIA Linux+ XK0-006 Objectives, Domain 3.0: Security

by Yves at Apr 13, 2026, 09:18 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10