Skip to content

Instantly share code, notes, and snippets.

@aminsource
Created August 27, 2018 04:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aminsource/d271943b37fc963c6e342afbe9a6b7b2 to your computer and use it in GitHub Desktop.
Save aminsource/d271943b37fc963c6e342afbe9a6b7b2 to your computer and use it in GitHub Desktop.
d r w x r w x r w x
Owner Group Other
Directory Read Write Execute Read Write Execute Read Write Execute
(R) (W) (X)
0 No No No
1 No No Yes
2 No Yes No
3 No Yes Yes
4 Yes No No
5 Yes No Yes
6 Yes Yes No
7 Yes Yes Yes
777 is the same as rwxrwxrwx
755 is the same as rwxr-xr-x
666 is the same as rw-rw-rw-
744 is the same as rwxr--r--
chmod nnn filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment