File System & Storage

The Permission Lockout

200 pts
0 solves
medium hands-on
A shared project directory at /opt/shared/ has been set up with incorrect ownership and permissions. Two developers, alice and bob, need to collaborate in this directory but currently neither can access it. Your task is to set up proper group-based permissions: 1. Create a group called "devteam" 2. Add both alice and bob to the devteam group 3. Set /opt/shared to be owned by root:devteam 4. Set permissions to 2770 (rwxrws--- with setgid bit) The setgid bit ensures new files created in the directory automatically inherit the devteam group, enabling seamless collaboration. Note: A helper script at /usr/local/bin/do_perms.sh is provided since you cannot use sudo directly.

Ready to solve this?

Create a free account to launch containers, submit answers, and track your progress.