Last active
July 12, 2016 06:36
-
-
Save mblarsen/d5cc8449ba4664350916eca2b0f23cfa to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# typical htdoc file and directory permissions | |
# + -o is a way to combine multiple finds in one | |
sudo find . -type d -exec chmod 755 {} + -o -type f -exec chmod 644 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment