Signal9Signal9 — home
online
back to labs

Set Exact Permissions (750)

EasyLinux+ Exam Prep10-15 min
The brief

A service script must be runnable by its owner and group but invisible to everyone else: owner rwx, group r-x, others nothing — that's mode 750 (rwxr-x---). The file /root/app/run.sh currently has the wrong permissions. Set it to exactly 750.

chmod 750 /root/app/run.sh

Grading reads the file's mode. (0 for others is the security point: no world access to the script.)

What you'll do
  • Set /root/app/run.sh to mode 750 (rwxr-x---)

Hands-on lab: you work on a real Linux box in your browser, graded on the machine's actual state.