Linux Labs

Users, permissions, and processes / Stage 4 of 13

A shared directory: setgid, sticky, and umask

Not running Starting usually ~20 s
Leave the lesson

Step 5 of 7 · on a machine · 3 min

An inbox for reports

The team needs a second directory, for reports: everyone drops their own and leaves the others alone. Set it up yourself.

The /srv/team/inbox directory already exists: owner root, group devs, rwxrwxr-x.

Exercise · do it

Set up the reports directory

Set up /srv/team/inbox: new reports in it get the devs group, only a report's author can delete or rename it, and everyone in devs can still drop their own reports there. Do not open writing to others.

Sign in and start The machine is available after signing in

Goals · 0 of 3

  • Give new reports the devs group not done yet
  • Forbid touching other people's reports not done yet
  • Keep writing open to the team but not to others not done yet

Step goals

0 of 3
  • Give new reports the devs group — not done yet
  • Forbid touching other people's reports — not done yet
  • Keep writing open to the team but not to others — not done yet
Ubuntu 24.04

Step goals

0 of 3
  • Give new reports the devs group — not done yet
  • Forbid touching other people's reports — not done yet
  • Keep writing open to the team but not to others — not done yet
Loading…