ACLS Flashcards

(8 cards)

1
Q

what is an acl?

A

The section within an inode of a file or directory that lists the permissions assigned to users and groups on the file or directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what does the setfac1 command do?

A

Used to modify ACL entries for Linux files and directories.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what option is needed for the setfac1 command to modifier the ACL?

A

-m

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what does the getfac1 command do?

A

Used to list all ACL entries for Linux files and directories.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what does the + repesent at the end of mode?

A

that there are additional entries in the acl for this file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or false | you can remove all extra acl assignments on a file using the -s option?

A

False | everything is true BUT the option is -b instead of -s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Q: What happens if a user has more permissions than the mask allows?

A

A: The mask takes precedence, and the user’s permissions are reduced to match the mask.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Q: What does the setfacl command do regarding the mask?

A

A: It sets the mask to the least restrictive permission assigned so it doesn’t limit other ACL entries unintentionally.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly