Created
May 16, 2014 04:31
-
-
Save trq/1aa9cf7a69c31af0a797 to your computer and use it in GitHub Desktop.
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
sudo chown -R $USER:www-data /var/www | |
find /var/www -type d -exec chmod 775 {} \; | |
find /var/www -type d -exec chmod 664 {} \; | |
chmod g+s /var/www |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo chown -R $USER:www-data /var/www
find /var/www -type d -exec chmod 755 {} ;
find /var/www -type f -exec chmod 644 {} ;
chmod g+s /var/www