Skip to content

Instantly share code, notes, and snippets.

@ifnull
Created February 28, 2013 08:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ifnull/5055107 to your computer and use it in GitHub Desktop.
Save ifnull/5055107 to your computer and use it in GitHub Desktop.
Set permissions for Apache
chown -R apache:www-data .
find . -type d -exec chmod u=rwx,g=rx,o= '{}' \;
find . -type f -exec chmod u=rw,g=r,o= '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment