Created
May 8, 2013 22:32
-
-
Save shobhitsharma/5544201 to your computer and use it in GitHub Desktop.
root write access
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
sudo adduser mike www-data | |
sudo chgrp -R www-data /var/www | |
sudo chmod -R g+rw /var/www | |
find /var/www -type d -print0 | sudo xargs -0 chmod g+s | |
sudo shutdown -r now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment