Permission mode converter
Octal to symbolic, including the setuid, setgid and sticky bits.
Octal to symbolic
Digit reference
| Digit | Symbolic | Permissions |
|---|---|---|
| 0 | --- | none |
| 1 | --x | execute |
| 2 | -w- | write |
| 3 | -wx | write, execute |
| 4 | r-- | read |
| 5 | r-x | read, execute |
| 6 | rw- | read, write |
| 7 | rwx | read, write, execute |
The leading digit
| Bit | Name | Shown as |
|---|---|---|
| 4 | setuid | s with user execute/search; S without it |
| 2 | setgid | s with group execute/search; S without it |
| 1 | sticky | t with other execute/search; T without it |
Interpretation
This converter displays the nine permission characters, without the file-type prefix shown by ls. For directories, execute means search/traversal. Permission bits alone do not establish effective access: ACLs, mount options and process privileges can also matter.
Sources: GNU numeric modes; GNU ls display; mode structure.