Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Last active January 28, 2021 01:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/199c7a909efd3cd176fb7bd4adaf83eb to your computer and use it in GitHub Desktop.
Save parzibyte/199c7a909efd3cd176fb7bd4adaf83eb to your computer and use it in GitHub Desktop.
sudo adduser parzibyte www-data
sudo chgrp -R www-data /var/www/
sudo chmod -R g+rwX /var/www/
sudo chown -R www-data:www-data /var/www/
find /var/www -type d -print0 | sudo xargs -0 chmod g+s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment