chmod 440 — r--r-----

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

440
r--r-----
Owner4
r--
Group4
r--
Others0
---
Special bits
chmod 440 filename
chmod -R 440 /path/to/dir

What this means

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

What chmod 440 allows

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

Read-only for owner and group, nothing for others. /etc/sudoers must be 440 — sudo refuses to run if it's writable.

Commands

chmod 440 fileset it on one file or directory
chmod u=r,g=r,o= filethe same thing in symbolic form
chmod -R 440 dir/recursively — careful: it applies to files and directories alike
ls -l filecheck the result: -r--r----- (a directory shows dr--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 440 mean?

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

What is the symbolic form of chmod 440?

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

← Chmod calculator

Common chmod permissions explained

ToolNinja