Created
September 23, 2015 05:40
-
-
Save lunaroja/a0df11fcff0ae31630e6 to your computer and use it in GitHub Desktop.
Edit files files that belong to www-data
This file contains hidden or 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
//http://askubuntu.com/questions/19898/whats-the-simplest-way-to-edit-and-add-files-to-var-www | |
sudo adduser <username> www-data | |
sudo chown -R www-data:www-data /var/www | |
sudo chmod -R g+rwX /var/www |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment