Octal and symbolic Unix permissions, in both directions.
Runs entirely in your browser. Nothing you paste here is sent to us or to anyone else.
| Read | Write | Execute | |
|---|---|---|---|
| Owner | |||
| Group | |||
| Others |
644 | rw-r--r-- | Regular file: owner writes, everyone reads |
600 | rw------- | Private file, e.g. a key or a config with secrets |
755 | rwxr-xr-x | Script or directory: everyone can run or enter |
700 | rwx------ | Private directory |
777 | rwxrwxrwx | Everything for everyone. Almost never the right answer |
On a directory, execute means the right to enter it and reach the files inside. A directory with read but no execute lists names and gives access to nothing.