Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created February 5, 2016 12:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/082ada44d4d4a348f53a to your computer and use it in GitHub Desktop.
Save anonymous/082ada44d4d4a348f53a to your computer and use it in GitHub Desktop.
$ 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