Created
November 6, 2015 11:28
-
-
Save alihalabyah/284c7be1419568b350e2 to your computer and use it in GitHub Desktop.
Read & Write Access to Group
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
# First of all make sure that the user is added to the group (the group name here is www-data) | |
sudo usermod -a -G www-data <some_user> | |
# Then change the group of the directory | |
sudo chgrp -R www-data /var/www | |
# Finally, give group write permissions | |
sudo chmod -R g+w /var/www |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment