Skip to content

Instantly share code, notes, and snippets.

@jeeteshnariya
Forked from bmcculley/chmod-cheat-sheet
Created March 15, 2017 14:11
Show Gist options
  • Select an option

  • Save jeeteshnariya/84620b28a2e55bf7b9191594e5b2ef9b to your computer and use it in GitHub Desktop.

Select an option

Save jeeteshnariya/84620b28a2e55bf7b9191594e5b2ef9b 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 |
|________________________________|
@luisoliv
Copy link
Copy Markdown

luisoliv commented Feb 9, 2018

+1 quick and simple, to always have at hand in a usb (and in text format so i can see it trought network or in terminal like in a DC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment