Quizzes

Linux ACL: 50 questions

50 questions on POSIX ACL, getfacl/setfacl, mask, default ACLs, inheritance, backup, xattrs and pitfalls. Each exam draws 25, 20 to pass.

Bronze · 50 questions · Exam mode

1ConceptWhat problem do ACLs mainly solve?
2CommandWhich command shows a file ACL?
3ConceptWhat does a trailing `+` in `ls -l` mean?
4ConceptWhat does `user:bob:r--` mean?
5ConceptWhat does `group:dev:r-x` mean?
6ConceptWhich entries does the mask limit?
7Concept`user:bob:rwx` with `mask::r--` gives bob what effective access?
8ConceptWhere are ACLs ultimately stored?
9ConceptAre POSIX ACLs and nftables ACLs the same?
10ConceptDo ACLs replace traditional rwx?
11CommandWhich command grants bob read/write via ACL?
12CommandWhich command removes bob’s ACL entry?
13CommandWhich command removes all extended ACL entries?
14CommandWhich command removes only the default ACL?
15CommandWhich command sets ACLs recursively?
16CommandWhich command grants group dev read/execute via ACL?
17CommandWhich command sets the mask to r?
18ConceptWhat does `setfacl -n` do?
19ConceptOn a file with an ACL, `chmod g-w` may?
20CommandHow do you inspect effective permissions?
21ConfigWhat prefix marks a default ACL entry?
22ConceptWhere can default ACLs be set?
23ConceptWhich objects does a default ACL affect?
24ConceptAfter adding a default ACL to a directory, existing files?
25ConceptA newly created subdirectory usually?
26ConceptA newly created regular file usually?
27CommandWhich permission grants execute to directories but not files?
28ConceptWhat is the relation between default ACLs and umask?
29ConceptDoes a default ACL also have a mask?
30ConceptHow does default ACL inheritance work?
31CommandWhich command preserves ACLs when copying?
32CommandWhich rsync option preserves ACLs?
33CommandWhich tar option stores ACLs?
34CommandWhich command exports ACLs recursively?
35CommandWhich command restores ACLs from a file?
36ConceptWhat are the ext4 ACL xattr names?
37ConceptA filesystem mount may need which option for ACLs?
38ConceptNFSv4 ACLs and POSIX ACLs are?
39ConceptACLs on Samba shares may?
40ConceptIs backing up file contents enough for ACLs?
41ConceptWhat is the problem with only checking `ls -l`?
42ConceptMask is r-- and named user is rwx; actual access?
43Concept`chmod g-w` on an ACL file may?
44ConceptCan ACLs restrict root?
45ConceptWhen setting ACLs, symlinks usually?
46ConceptWhat does `other::` correspond to?
47ConceptWhat does `group::` correspond to?
48ConfigWhich command sets a default ACL for bob?
49CommandWhich command removes bob’s default ACL entry?
50ConceptACL not taking effect. What first?
Back