Created
February 21, 2015 08:20
-
-
Save webmasterninjay/2c914cb04d0d27456590 to your computer and use it in GitHub Desktop.
Linux command to add user, change owner and change folder permission
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
sudo adduser <username> www-data | |
sudo chown -R www-data:www-data /var/www | |
sudo chmod -R g+rw /var/www |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment