Last active
August 25, 2018 10:51
-
-
Save JQL/e28e6303056aa1a1006181dc96e6c8c6 to your computer and use it in GitHub Desktop.
The Basic permissions in a Linux Terminal
This file contains 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
CHMOD | |
Changing permissions in a Linux Terminal | |
COMMANDS & LINKS: | |
chmod o+w stuff : give "others" write access to the file "stuff" | |
chmod o-w stuff : remove write access for "others" from "stuff" | |
chmod a-x stuff : remove exucutable permissions from "stuff" | |
chmod 777 stuff : give everyone all permissions to stuff (this is a very BAD idea) | |
chmod 600 stuff : owner has read & write access only to "stuff" (excellent security but not always practical) | |
chmod 644 stuff : owner has read & write access; group has read access; others have no access (good security) | |
chmod 664 stuff : owner has read & write access; group has read & write access; others have no access (default security) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment