-
-
Save chmielot/1031673 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
# 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