Delegate Linux file access with groups and ACLs

8 steps · about 2 h 22 min · Intermediate

  1. 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.

  2. Predict creation permissions (reference, Linux man-pages, 18 min)

    Understand how process umask changes newly created files and directories before adding ACL inheritance.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.