Last active
October 7, 2018 01:38
-
-
Save tenomoto/019100e854034ff7e01c9d04696ea4a4 to your computer and use it in GitHub Desktop.
Add read permission to files and directories and execute only to directories
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
| # a: all | |
| # =: reset | |
| # r: read | |
| # X: execute excluding files | |
| # u: user (owner) | |
| # +: add | |
| # w: write | |
| chmod -R a=rX,u+w directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment