Which statement correctly describes the purpose of 'setfacl --remove-default dir1'?

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 statement correctly describes the purpose of 'setfacl --remove-default dir1'?

Explanation:
Default ACLs specify permissions that are automatically applied to new items created in a directory. The operation setfacl --remove-default dir1 deletes those default ACL entries from the directory. As a result, future files and subdirectories created inside dir1 won’t inherit the previous default permissions. The existing access ACLs on dir1 remain unchanged, and this command does not remove all ACL entries or add new default ACLs.

Default ACLs specify permissions that are automatically applied to new items created in a directory. The operation setfacl --remove-default dir1 deletes those default ACL entries from the directory. As a result, future files and subdirectories created inside dir1 won’t inherit the previous default permissions. The existing access ACLs on dir1 remain unchanged, and this command does not remove all ACL entries or add new default ACLs.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy