Mission 331

Directory traversal modes

Set and inspect a directory mode that supports controlled traversal.

Permissions and users
8 minutes Admin Lesson 331 of 360
mkdirchmodstat
Lesson 331 of 360 0/360 lessons 0/17 missions Permissions and users · 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.

Create a report directory

Run mkdir lab/private-reports.

mkdir lab/private-reports
Set controlled traversal mode

Run chmod 750 lab/private-reports.

chmod 750 lab/private-reports
Inspect the directory mode

Run stat lab/private-reports.

stat lab/private-reports
Lesson support

What to notice while you play.

Objective

Build repeatable confidence with reasoning about read, write, and execute bits on directories.

Hint

Start with mkdir lab/private-reports, inspect the result, then continue in order.

Why it matters

Reasoning about read, write, and execute bits on directories helps operators explain what they know before they change anything.

Common mistakes
  • Skipping the output that proves reasoning about read, write, and execute bits on directories.
  • Changing several things before recording a baseline.
Reference

Commands in this lesson.

mkdir <name>

Create a folder.

chmod <mode> <path>

Change a simulated numeric permission mode.

stat <path>

Show lab file details.