chmod calculator

How to use

Tick read, write and execute for user, group and other, or type an octal mode such as 755 or a symbolic mode such as rwxr-xr-x. Special bits are setuid, setgid and sticky. Nothing is stored or sent anywhere.

User
Group
Other

3 or 4 digits, or a 0o prefix. Special bits add a leading digit, as in 4755.

Nine characters, or an ls-style value with a leading type such as -rwxr-xr-x.

About

Modes follow the usual Unix rules. Each of user, group and other has a read (4), write (2) and execute (1) bit. A leading octal digit holds setuid (4), setgid (2) and sticky (1). In the symbolic form, execute becomes s or t when that special bit is on, or S / T when the execute bit is off. The default starting value is 755 (rwxr-xr-x). Nothing is stored or sent anywhere.