Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chmielot/1031673 to your computer and use it in GitHub Desktop.
Save chmielot/1031673 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