Last active
September 1, 2017 20:24
-
-
Save jeremysells/6de392632281f8f817883c80744514e9 to your computer and use it in GitHub Desktop.
permissions cheat sheet.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---x------ 1 nobody nogroup 0 Sep 1 20:34 100 | |
| --w------- 1 nobody nogroup 0 Sep 1 20:34 200 | |
| --wx------ 1 nobody nogroup 0 Sep 1 20:34 300 | |
| -r-------- 1 nobody nogroup 0 Sep 1 20:34 400 | |
| -r-x------ 1 nobody nogroup 0 Sep 1 20:34 500 | |
| -rw------- 1 nobody nogroup 0 Sep 1 20:34 600 | |
| -rwx------ 1 nobody nogroup 0 Sep 1 20:34 700 | |
| # Source: http://www.december.com/unix/ref/chmod.html | |
| 0 = no permissions whatsoever; this person cannot read, write, or execute the file | |
| 1 = execute only | |
| 2 = write only | |
| 3 = write and execute (1+2) | |
| 4 = read only | |
| 5 = read and execute (4+1) | |
| 6 = read and write (4+2) | |
| 7 = read and write and execute (4+2+1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment