Created
January 24, 2016 18:54
-
-
Save mauroartizzu/3d9976fbc6b0daaac6d5 to your computer and use it in GitHub Desktop.
Web Server Permissions
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
usermod -a -G www-data user | |
find /var/www/website.it/ -type d -print0 | xargs -0 chmod 775 | |
find /var/www/website.it/ -type f -print0 | xargs -0 chmod 664 | |
chown /var/www/website.it/ | |
chmod g+s /var/www/website.it/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment