Created
February 5, 2016 12:03
-
-
Save anonymous/082ada44d4d4a348f53a 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
$ sudo chown www-data:www-data -R /var/www | |
$ sudo gpasswd -a www-data $USER | |
$ sudo chmod g+rw -R /var/www | |
$ sudo find -type d -exec chmod g+rwx {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment