ACLS Flashcards
(8 cards)
what is an acl?
The section within an inode of a file or directory that lists the permissions assigned to users and groups on the file or directory.
what does the setfac1 command do?
Used to modify ACL entries for Linux files and directories.
what option is needed for the setfac1 command to modifier the ACL?
-m
what does the getfac1 command do?
Used to list all ACL entries for Linux files and directories.
what does the + repesent at the end of mode?
that there are additional entries in the acl for this file
True or false | you can remove all extra acl assignments on a file using the -s option?
False | everything is true BUT the option is -b instead of -s
Q: What happens if a user has more permissions than the mask allows?
A: The mask takes precedence, and the user’s permissions are reduced to match the mask.
Q: What does the setfacl command do regarding the mask?
A: It sets the mask to the least restrictive permission assigned so it doesn’t limit other ACL entries unintentionally.