Skip to content

Instantly share code, notes, and snippets.

@marfillaster
Created May 21, 2011 14:13
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save marfillaster/984556 to your computer and use it in GitHub Desktop.
Save marfillaster/984556 to your computer and use it in GitHub Desktop.
# add your user to www-data and vise versa
sudo usermod -a -G www-data myusername
sudo usermod -a -G myusername www-data
# override umask in ~/.bashrc and /etc/init.d/apache2
umask 002
#restart
sudo /etc/init.d/apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment