Build and decode Unix file permission strings interactively
7
rwx
5
r-x
Enter 3 or 4 digit octal to set the checkboxes above
755 (rwxr-xr-x)
Executable / directory
644 (rw-r--r--)
Regular file
600 (rw-------)
Private file
777 (rwxrwxrwx)
World-writable
700 (rwx------)
Private executable
664 (rw-rw-r--)
Group-writable
1755 (rwxr-xr-t)
Sticky directory
4755 (rwsr-xr-x)
Setuid executable
Octal
755
Symbolic
rwxr-xr-x
owner has full access, group can read & execute, others can read & execute
chmod 755 <file>
chmod rwxr-xr-x <file>
4 (r)
2 (w)
1 (x)
4000
2000
1000