Mission 358

Permission regression triage

Establish identity and metadata before applying a narrow repair.

Troubleshooting
8 minutes Advanced Lesson 358 of 360
whoamitouchchmodstat
Lesson 358 of 360 0/360 lessons 0/17 missions Troubleshooting · 8 minutes
0%
Continue View profile
Ops lab terminal Training lab
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Instructions 8 minutes

Click any instruction for the command details, the why, and the common mistake to avoid.

Confirm the acting user

Run whoami.

whoami
Create the affected file

Run touch lab/permission-regression.txt.

touch lab/permission-regression.txt
Apply the intended mode

Run chmod 640 lab/permission-regression.txt.

chmod 640 lab/permission-regression.txt
Verify the repaired metadata

Run stat lab/permission-regression.txt.

stat lab/permission-regression.txt
Lesson support

What to notice while you play.

Objective

Build repeatable confidence with diagnosing a permission regression from identity and mode evidence.

Hint

Start with whoami, inspect the result, then continue in order.

Why it matters

Diagnosing a permission regression from identity and mode evidence helps operators explain what they know before they change anything.

Common mistakes
  • Skipping the output that proves diagnosing a permission regression from identity and mode evidence.
  • Changing several things before recording a baseline.
Reference

Commands in this lesson.

touch <file>

Create an empty file.

chmod <mode> <path>

Change a simulated numeric permission mode.

stat <path>

Show lab file details.

whoami|id|groups

Inspect the learner account.