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

  1. 01The team
  2. 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.

← All Linux System Administration labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

Groups and Shared Project Directories — Linux lab | Kube Labs