Groups and Shared Project Directories
Two engineers need to work in the same directory and a third person must stay out of it. Groups, the setgid bit and a sensible umask do this without any ACLs.
Skill labbeginner~30 minFree
What you'll do
- ✓Create a group and add members without dropping their other groups
- ✓Give a directory to a group with setgid so new files inherit it
- ✓Understand why members must start a new session before a group takes effect
- ✓Show a non-member is denied, not just discouraged
Lab outline
- 01The team
- 02The shared directory
Before you start
- User Account Lifecycle
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.