Skip to content

Instantly share code, notes, and snippets.

@alihalabyah
Created November 6, 2015 11:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save alihalabyah/284c7be1419568b350e2 to your computer and use it in GitHub Desktop.
Read & Write Access to Group
# 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