Skip to main content
Direct WebTools

Linux Permissions & Chmod Calculator

Toggle r/w/x permissions per Owner, Group and Public, enable special bits (setuid, setgid, sticky) and copy the mode as octal, symbolic notation and ready-to-run chmod/chown commands, free.

Owner

Group

Public (others)

Special bits

Octal
Symbolic notation

Ready-to-run commands

$
$

Examples

Click an example to load the mode on the board.

Mode (octal) Result (symbolic)
755 755 · -rwxr-xr-x
644 644 · -rw-r--r--
600 600 · -rw-------
700 700 · -rwx------
4755 4755 · -rwsr-xr-x

Frequently asked questions

What does chmod 755 mean?

Owner can read, write and execute (7); group and others can read and execute (5 and 5). Typical for directories and executable scripts.

What is the difference between 644 and 600?

644 lets everyone read the file while only the owner writes it (common for public web files); 600 restricts reading to the owner (common for keys and configs holding secrets).

What are setuid, setgid and the sticky bit?

Special flags: setuid runs a program with the file owner's identity (4xxx), setgid with the group's (2xxx) — or makes folders inherit the group — and sticky keeps shared folders so files can only be deleted by their owners (1xxx, as in /tmp).