Delegate Linux file access with groups and ACLs
8 steps · about 2 h 22 min · Intermediate
- Review inode permission metadata (reference, Linux man-pages, 18 min)
Ground the exercise in owner, group, mode and special-bit semantics stored on filesystem objects.
- Predict creation permissions (reference, Linux man-pages, 18 min)
Understand how process umask changes newly created files and directories before adding ACL inheritance.
- Assign a shared group (reference, Linux man-pages, 12 min)
Set directory group ownership explicitly and verify the intended collaborators are members of that group.
- Apply setgid directory inheritance (reference, Linux man-pages, 16 min)
Use a setgid directory so new entries retain the collaboration group without opening access to everyone.
- Understand ACL entries and masks (reference, Linux man-pages, 28 min)
Learn how access and default ACLs interact with owning groups, named entries and the effective-rights mask.
- Set access and default ACLs (reference, Linux man-pages, 20 min)
Grant narrowly scoped user or group access and create inheritance rules without replacing unrelated entries.
- Inspect effective permissions (reference, Linux man-pages, 14 min)
Read masks and effective comments to explain why a named entry may grant less access than it appears to.
- Trace every path component (reference, Linux man-pages, 16 min)
Finish by finding missing execute permission on parent directories and testing reads and writes as each role.