chmod 600 — rw-------

What chmod 600 allows, when to use it, and the calculator pre-filled with it — toggle any box to compare.

600
rw-------
Owner6
rw-
Group0
---
Others0
---
Special bits
chmod 600 filename
chmod -R 600 /path/to/dir

What this means

Owner can read, write. Group has no permissions. Others has no permissions.

What chmod 600 allows

WhoReadWriteExecute
Owner✓✓—
Group———
Others———

Private files only the owner may read or change: SSH private keys (~/.ssh/id_ed25519), .env files with secrets, ~/.netrc. SSH refuses keys that are more open than this.

Commands

chmod 600 fileset it on one file or directory
chmod u=rw,g=,o= filethe same thing in symbolic form
chmod -R 600 dir/recursively — careful: it applies to files and directories alike
ls -l filecheck the result: -rw------- (a directory shows drw-------)

On a directory, read lets you list it, write lets you create and delete entries, and execute lets you enter it and open what's inside. That's why directories usually get 755 or 750 while files get 644 or 640.

Frequently asked

What does chmod 600 mean?

Owner: read, write. Group: no access. Others: no access. In ls -l it shows as rw-------.

What is the symbolic form of chmod 600?

chmod u=rw,g=,o= file — it sets exactly the same permissions as chmod 600.

← Chmod calculator

Common chmod permissions explained

ToolNinja