CompTIA Linux+ XK0-006 (V8) Practice Question

You want the service account analytics to read existing files and also create new files inside /data/reports.
The directory already exists with POSIX mode drwxrwx--- and ACL support is enabled. You run:

# setfacl -m u:analytics:rw /data/reports

getfacl shows the new ACL entry, yet the user still receives Permission denied when running touch /data/reports/test.csv.

Which corrective action will give the analytics account the minimum additional right required to create files, without granting extra access to other users?

  • Add execute permission for the analytics user on the directory (e.g., setfacl -m u:analytics:rwx /data/reports).

  • Create a default ACL for analytics with setfacl -d -m u:analytics:rw /data/reports.

  • Enable the sticky bit on /data/reports (chmod +t /data/reports).

  • Set the SGID bit on /data/reports so new files inherit the group (chmod g+s /data/reports).

CompTIA Linux+ XK0-006 (V8)
Troubleshooting
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot