Mission 62

Nano permission note

Write a permission review note and set a private mode.

Nano and editing
8 minutes Admin Lesson 62 of 360
nanochmodstat
Lesson 62 of 360 0/360 lessons 0/17 missions Nano and editing · 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.

Edit note

Run nano lab/permissions-note.txt.

nano lab/permissions-note.txt
Set private mode

Run chmod 600 lab/permissions-note.txt.

chmod 600 lab/permissions-note.txt
Inspect note

Run stat lab/permissions-note.txt.

stat lab/permissions-note.txt
Lesson support

What to notice while you play.

Objective

Create a note and protect it with simulated permissions.

Hint

Use chmod 600 after saving the note.

Why it matters

Some admin notes should not be broadly readable.

Common mistakes
  • Protecting an empty file.
  • Changing mode on the wrong path.
Reference

Commands in this lesson.

nano <file>

Open a simulated nano editor.

chmod <mode> <path>

Change a simulated numeric permission mode.

stat <path>

Show lab file details.