Run touch lab/least-privilege.txt.
touch lab/least-privilege.txt
Checkpoint ownership, group assignment, and minimum useful modes.
Permissions and userstouchchownchmodstat
Click any instruction for the command details, the why, and the common mistake to avoid.
Run touch lab/least-privilege.txt.
touch lab/least-privilege.txt
Run chown learner:learners lab/least-privilege.txt.
chown learner:learners lab/least-privilege.txt
Run chmod 640 lab/least-privilege.txt.
chmod 640 lab/least-privilege.txt
Run stat lab/least-privilege.txt.
stat lab/least-privilege.txt
Create a free account to sync completed lessons, XP, streaks, course status, and your next lesson across sessions.
Checking account status...
Progress sync is idle.
Progress sync stores completion IDs, scores, streaks, badges, and game settings. Terminal contents, editor snippets, lab scratch, email, and real names are never published on leaderboards or share cards.
Build repeatable confidence with applying least privilege to a new operator note.
Start with touch lab/least-privilege.txt, inspect the result, then continue in order.
Applying least privilege to a new operator note helps operators explain what they know before they change anything.
touch <file>
Create an empty file.
chmod <mode> <path>
Change a simulated numeric permission mode.
chown <user:group> <path>
Change simulated owner/group labels.
stat <path>
Show lab file details.