Skip to main content
kitlocal.dev

Unix Permissions (chmod)

Runs locally

100% processed in your browser. Inputs and outputs never leave your device.

Interactive octal (3/4-digit), symbolic rwx, special bits (setuid/setgid/sticky), umask calculator, ls -l parser, and recursive chmod scripts.

Permission Matrix

-rwxr-xr-x
Owner (u)

File owner account

Group (g)

Members of the owning group

Others (o)

All other system users

Special Mode Bits

High octal digit (setuid / setgid / sticky)

4-digit mode: 0755

POSIX -rwxrwxrwx representation (ls -l)

umask Calculator

New file default (666 & ~umask)
644 (rw-r--r--)
New dir default (777 & ~umask)
755 (rwxr-xr-x)

Ready-to-Run Commands

Single target chmod
chmod 755 /var/www/app
Recursive chmod -R
chmod -R 755 /var/www/app
Separate dirs (755/+) & files (-x)
find /var/www/app -type d -exec chmod 755 {} + && find /var/www/app -type f -exec chmod 644 {} +

Common Presets