ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 368 - XK0-005 discussion

Report
Export

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?

A.

setfacl -L Oliver /cloud_users

Answers
A.

setfacl -L Oliver /cloud_users

B.

setfacl -x rwx /cloud_users

Answers
B.

setfacl -x rwx /cloud_users

C.

setfacl -P rwx /cloud_users

Answers
C.

setfacl -P rwx /cloud_users

D.

setfacl -m u:Oliver /cloud_users

Answers
D.

setfacl -m u:Oliver /cloud_users

Suggested answer: D

Explanation:

The setfacl -m u:Oliver:rwx /cloud_users command modifies the ACL (Access Control List) for the directory cloud_users, granting the user Oliver read, write, and execute permissions. This is the correct syntax for assigning specific permissions to a user.

asked 18/10/2024
Victor Cantu
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first