Created
January 8, 2016 04:45
-
-
Save code26/149e98ee20d1b68164bf to your computer and use it in GitHub Desktop.
Grant permission to user
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 usermod -aG www-data username | |
sudo chown -R www-data:www-data /var/www/example.com/public_html | |
sudo chmod -R 770 /var/www/example.com/public_html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment