Last active
January 24, 2018 23:16
-
-
Save benjcal/1a2cbacf9c6def52ac6f5d5ad20718a8 to your computer and use it in GitHub Desktop.
www-data 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
sudo chown -R admin:www-data /var/www; | |
sudo find /var/www -type f -exec chmod 664 {} \; | |
sudo find /var/www -type d -exec chmod 775 {} \; | |
sudo find /var/www -type d -exec chmod g+s {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment