CHMOD Calculator

Calculate and explain Unix and Linux file permissions numerically, symbolically or through individual rights. Compare values and generate chmod commands.

Enter permissions

Input source
Use 3 or 4 octal digits, optionally with a leading 0, such as 755 or 04755.
Use 9 characters or a file-type character plus 9 characters, such as -rwxr-xr-x.

Individual rights

Owner
Group
Others
Special bits

Symbolic chmod operation

Examples: u+rwx, g+rx, o-rwx, a+r, u=rw,g=r,o= or ug+x.

Compare permissions

Typical presets

Permission result

Symbolic form
With file-type character
Numeric command
Symbolic command

Breakdown

Notes

    What this tool does

    The CHMOD calculator converts classic Unix and Linux permissions between numeric and symbolic notation.

    It explains regular rights, special bits, symbolic operations and notable combinations for files and directories.

    How to use the tool

    1. Enter a 3- or 4-digit octal value, a symbolic permission string or permissions through the checkboxes.
    2. Choose an object type and optionally a name for the generated shell command.
    3. Use operations, comparisons and presets for further calculations.

    Useful applications

    • Check why rw-r--r-- corresponds to 644.
    • Convert values such as 4755 or 1777 including Setuid, Setgid and the sticky bit.
    • Create a readable numeric or symbolic chmod command line.

    Notes and limitations

    • The tool does not change files or execute shell commands.
    • Permissions have different meanings on directories and regular files; notes follow the selected object type.
    • POSIX ACLs, SELinux, AppArmor, ownership, group membership and mount options are not evaluated.

    Frequently asked questions

    What does the value 755 mean?

    The Owner can read, write and execute; Group and Others can read and execute.

    Does the calculator change actual file permissions?

    No. It only calculates values and commands for manual use and never executes shell commands.