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