Which utility is used to modify Access Control List entries on Linux files?

Prepare for the Red Hat Certified Systems Admin Exam EX200. Enhance your skills with interactive quizzes, flashcards, and detailed explanations. Ace your certification exam today!

Multiple Choice

Which utility is used to modify Access Control List entries on Linux files?

Explanation:
Access Control Lists extend the traditional permission model by letting you grant or restrict access for additional users and groups beyond the owner, group, and others. To modify these ACL entries, you use setfacl. It writes or updates entries, such as giving a specific user read and write rights with a command like setfacl -m u:alice:rw- filename. You can also remove entries or set default ACLs on directories. The basic chmod operation only changes the standard owner/group/other bits and does not touch ACLs, while chown changes who owns the file and ls merely shows permissions (ACLs are shown if the system is configured to display them).

Access Control Lists extend the traditional permission model by letting you grant or restrict access for additional users and groups beyond the owner, group, and others. To modify these ACL entries, you use setfacl. It writes or updates entries, such as giving a specific user read and write rights with a command like setfacl -m u:alice:rw- filename. You can also remove entries or set default ACLs on directories. The basic chmod operation only changes the standard owner/group/other bits and does not touch ACLs, while chown changes who owns the file and ls merely shows permissions (ACLs are shown if the system is configured to display them).

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy