chmod 444 — r--r--r--

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

444
r--r--r--
Owner4
r--
Group4
r--
Others4
r--
Special bits
chmod 444 filename
chmod -R 444 /path/to/dir

What this means

Owner can read. Group can read. Others can read.

What chmod 444 allows

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

Read-only for everyone, including the owner (who can still chmod it back). Useful to protect generated or reference files from accidental edits.

Commands

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

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 444 mean?

Owner: read. Group: read. Others: read. In ls -l it shows as r--r--r--.

What is the symbolic form of chmod 444?

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

← Chmod calculator

Common chmod permissions explained

ToolNinja