chmod calculator
Convert Linux file permissions between 755 and rwxr-xr-x, with setuid, setgid and sticky bits. Runs in your browser.
Everything here runs in your browser. Nothing you type is sent to D's Labs or anyone else.
| Read | Write | Execute | |
|---|---|---|---|
| Owner | |||
| Group | |||
| Others |
Numeric755
ls -lrwxr-xr-x
Symbolicu=rwx,g=rx,o=rx
chmod 755 fileHow the numbers work
Each digit is one class of user — owner, group, others — and is the sum of read (4), write (2) and execute (1). So 7 is rwx, 5 is r-x and 4 is r--. An optional leading digit adds setuid (4), setgid (2) and the sticky bit (1). On a directory, execute means “may enter”, and the sticky bit (as on /tmp) stops people deleting each other's files.
Practise it on a real machineFiles, permissions and ownership lab
Practise it