Created
February 28, 2013 08:13
-
-
Save ifnull/5055107 to your computer and use it in GitHub Desktop.
Set permissions for Apache
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
chown -R apache:www-data . | |
find . -type d -exec chmod u=rwx,g=rx,o= '{}' \; | |
find . -type f -exec chmod u=rw,g=r,o= '{}' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment