Skip to content

Instantly share code, notes, and snippets.

@bmcculley
Created December 7, 2014 05:02
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bmcculley/d3e79e9fd3a58d59dd8a to your computer and use it in GitHub Desktop.
Save bmcculley/d3e79e9fd3a58d59dd8a to your computer and use it in GitHub Desktop.
chmod cheat sheet
PERMISSION COMMAND
U G W
_____________________________________
|rwx rwx rwx chmod 777 <filename> |
|_____________________________________|
|rwx rwx r-x chmod 775 <filename> |
|_____________________________________|
|rwx r-x r-x chmod 755 <filename> |
|_____________________________________|
|rw- rw- r-- chmod 664 <filename> |
|_____________________________________|
|rw- r-- r-- chmod 644 <filename> |
|_____________________________________|
Key:
________________________________
| U = User | r = Readable |
| G = Group | w = writable |
| W = World | x = executable |
| | - = no permission |
|________________________________|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment