Skip to content

Instantly share code, notes, and snippets.

@stursby
Last active May 19, 2016 15:56
Show Gist options
  • Save stursby/3eb4983dc25d61b81a30208df7f60316 to your computer and use it in GitHub Desktop.
Save stursby/3eb4983dc25d61b81a30208df7f60316 to your computer and use it in GitHub Desktop.
linux web permissions

Apache

sudo chown -R www-data:www-data /var/www/html/

nginx

sudo chown -R www-data:www-data /usr/share/nginx/html/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment