nerdexam
CompTIACompTIA

XK0-005 · Question #1736

XK0-005 Question #1736: Real Exam Question with Answer & Explanation

The correct answer is D: setfacl -m oliver:rwx /cloud_users. The setfacl command is used to modify Access Control Lists (ACLs) on Linux. The options used -m (modify): This flag is used to modify ACL entries. oliver:rwx: This grants the user oliver read (r), write (w), and execute (x) permissions. /cloud_users: The target directory..

System Management

Question

A Linux engineer wants to give read-write-execute permissions for the cloud_users directory to user Oliver. Which of the following commands should the engineer use?

Options

  • Asetfacl -L oliver:rwx /cloud_users
  • Bsetfacl -x rwx:oliver /cloud_users
  • Csetfacl -P rwx:oliver /cloud_users
  • Dsetfacl -m oliver:rwx /cloud_users

Explanation

The setfacl command is used to modify Access Control Lists (ACLs) on Linux. The options used -m (modify): This flag is used to modify ACL entries. oliver:rwx: This grants the user oliver read (r), write (w), and execute (x) permissions. /cloud_users: The target directory..

Topics

#Linux Permissions#Access Control Lists#setfacl#File System Management

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions