46/91
Sign inSign up free

740. New Files the Whole Team Can Edit

hard 40 XP ~9 minHands-on lab

Two teams, backend and infra, share /srv/lab/handbook. Whenever yusuf (in backend) creates a file, sara (in infra) can't edit it, because the creator's umask is 022 and the folder belongs to one group only.

Task

Without changing anyone's umask or group memberships:

  • members of both groups can read and write every file that exists in /srv/lab/handbook today, and enter every sub-folder,
  • every file or folder created later anywhere under it is readable and writable by both groups too (and folders can be entered),
  • users who are in neither group get no access at all.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.