Training · Linux fundamentals
The analogy. A city with one rule: everything is an address. Files, disks and even running processes have a path, which is why the same three tools can inspect all of them.
The shell is the classroom: the lecture behind this lab covers the mental model, the commands you are about to use, and the four things that usually go wrong.
Read the lecture before you startall labs
Linux Permissions
Intermediate20 min0/3 activities
Set precise file permissions and change ownership, exactly as you would on a real server.
Activities
01Create /opt/app/deploy.sh
Create the file that will hold your deploy script.
02Set its permissions to 755
The file's mode must be exactly rwxr-xr-x.
03Change the owner of /opt/app/deploy.sh to root:root
The file's owner and group must both be root.
student@ophir-lab — linux-permissions-01
Booting sandbox…
bash 5.2 · x86_64 (wasm)isolated · no network egress