>_
755

Chmod Calculator

Tick read/write/execute boxes or type 755, rwxr-xr-x or u+x,go-w, and get the matching octal, symbolic notation and ready-to-copy chmod commands. Supports setuid, setgid and sticky bits.

Runs locally — your input never leaves this page.

ReadWriteExecute
Owner (u)
Group (g)
Others (o)

Special bits

Common

Commands

    How to use

    1. Tick the permissions for owner, group and others — or type an octal mode like 644, or paste -rw-r--r-- from ls -l.
    2. Add special bits (setuid, setgid, sticky) if needed.
    3. Type a symbolic change such as u+x,go-w and press Enter to apply it to the current mode.
    4. Copy the generated chmod command.

    FAQ

    What do 755 and 644 mean?

    Each digit is a sum of read (4), write (2) and execute (1) for owner, group and others. 755 = rwx for the owner, r-x for everyone else (typical for directories and scripts). 644 = rw- for the owner, read-only for others (typical for files).

    What are setuid, setgid and sticky?

    A fourth leading digit. setuid (4) runs a program as its owner; setgid (2) does the same for the group, and on directories makes new files inherit the group; sticky (1) on a directory such as /tmp stops users deleting each other’s files.

    Should I ever use 777?

    Almost never. It lets every user on the system modify the file. Fix ownership with chown instead, and grant group write (775/664) when several users need access.

    Report a bug or suggest a feature →