Create a gist now

Instantly share code, notes, and snippets.

anonymous /what i did
Created Feb 5, 2016

What would you like to do?
$ 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