XK0-005 · Question #741
XK0-005 Question #741: 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..
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
Community Discussion
No community discussion yet for this question.