Chmod Calculator

Visual Unix permissions calculator for files and directories.

Permissions

Toggle bits — octal, symbolic and command update live.

Owner (u)

Group (g)

Other (o)

Special bits

Context

Results

644
Octal
-rw-r--r--
Symbolic
0644
4-digit (special bits)
133
inverse umask for selected directory mode
chmod command (numeric)
chmod 644 filename
chmod command (symbolic)
chmod u=rw,g=r,o=r filename
What this means
  • Owner (u): read, write
  • Group (g): read
  • Other (o): read
  • Execute (x) allows running a file when other system checks also permit it.
The inverse masks above are separate calculations: the selected mode may be impossible from a normal file base because umask can remove permissions but cannot add them. A default ACL can also change Linux file-creation behavior.

This tool models traditional mode bits. Ownership, groups, ACLs, mounts, capabilities, and security policy can change effective access. Linux-specific command behavior may differ on other Unix systems.

Presets

Octal → bits (reverse)

Type a 3- or 4-digit octal number — the checkboxes and all outputs update to match.

Symbolic mode

Applies clauses from left to right. Supports rwxXst, permission copying with u/g/o, and + - =. X adds search/execute to directories or when any execute bit is already set. When who is omitted, umask filters affected rwx bits.

umask calculator

644
rw-r--r--
file (666)
755
rwxr-xr-x
directory (777)

The same mask applies to requested base modes 0666 (files) and 0777 (directories). On Linux, a parent default ACL changes this creation rule.

Parse ls -l output

Permission reference (0–7)
ValueBinarySymbolicMeaning
0000---no permissions
1001--xexecute only
2010-w-write only
3011-wxwrite + execute
4100r--read only
5101r-xread + execute
6110rw-read + write
7111rwxread + write + execute
  • setuid (4) — runs with the file owner's privileges (e.g. chmod 4755).
  • setgid (2) — runs with the group's privileges; on directories, new files inherit the group.
  • sticky (1) — on directories, only the owner can delete or rename files (e.g. /tmp, chmod 1777).
  • Infinio Tools
    © 2026 Infinio Labs