Created
October 26, 2016 04:20
-
-
Save mttjohnson/16ad88c048d6b82da74ea6caf2494617 to your computer and use it in GitHub Desktop.
change file and directory permissions
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
| change file permissions | |
| find /path/to/base/dir -type d -exec chmod 0755 {} + | |
| find /path/to/base/dir -type f -exec chmod 0644 {} + | |
| find . -type d -exec chmod 0777 {} + | |
| find . -type f -exec chmod 0666 {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment