Exam XK0-006 Topic 2 Question 22 Discussion
Actual exam question for CompTIA's XK0-006 exam
Question #: 22
Topic #: 2
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?

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
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
0
0
0
10
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).