Skip to content

Instantly share code, notes, and snippets.

@anxolin
Created January 8, 2019 22:22
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 anxolin/74acdbbcafe404b4f7bf01f4902d29d5 to your computer and use it in GitHub Desktop.
Save anxolin/74acdbbcafe404b4f7bf01f4902d29d5 to your computer and use it in GitHub Desktop.
/var/www permissions
chown -R www-data:www-data /var/www
find /var/www -type f -exec chmod 0660 {} \;
find /var/www -type d -exec chmod 2770 {} \;
chmod 2775 /var/www
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment