shield_lockLinux permissions · explained as you click

Chmod 600 Explained & Calculator

Learn why chmod 600 protects private keys and secret files, inspect every permission, and copy the correct command.

STEP 1

What are you changing?

Execute means different things for a file and a directory.

For a file: Read opens the contents, Write changes them, and Execute runs the file as a program.

STEP 2

Choose access

Owner permissions

Owner

digit 1 · 6

rw-

Usually you or the account that created it.

Group permissions

Group

digit 2 · 0

---

Accounts collected in the file's owning group.

Everyone else permissions

Everyone else

digit 3 · 0

---

Any other account on the same system.

YOUR RESULT

600rw-------

u=rw,g=,o=

Owner

Can read, edit

Group

Can no access

Everyone else

Can no access

THE PART MOST CALCULATORS SKIP

See what will actually change

Find the numeric mode with stat -c '%a' path on Linux, then review each permission being added or removed.

644arrow_forward600
removeGroup: readremoveEveryone else: read

TOP 5 EVERYDAY MODES

Start from the job, not the digits

Each common mode has its own explainer page and loads directly into this calculator. Pick the situation that sounds like yours, then check the access before copying.

CHMOD IN ONE MINUTE

What is chmod?

Every Linux file carries a tiny access list. chmod is the command that rewrites that list. It does not move the file, change its contents, or choose its owner—it only changes what the owner, group, and everyone else are allowed to do.

Think of the three digits as three keycards. The first card belongs to the owner, the second to the group, and the third to everyone else. Each card gets points for Read (4), Write (2), and Execute (1). Add the allowed actions to get that card's digit.

The only math you need

4Read+2Write+1Execute=7all three
Why 777 is not a universal fix: it hands every keycard every permission. Fix ownership or choose the smallest access that solves the real need instead.

DIGIT 1 · u

Owner

Usually you or the account that created it.

DIGIT 2 · g

Group

Accounts collected in the file's owning group.

DIGIT 3 · o

Everyone else

Any other account on the same system.