nerdexam
CompTIA

XK0-005 · Question #741

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?

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

How the community answered

(48 responses)
  • A
    6% (3)
  • B
    4% (2)
  • C
    10% (5)
  • D
    79% (38)

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 (ACLs)#setfacl command#File System Management

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice