Skip to content

Instantly share code, notes, and snippets.

@fm
Created January 27, 2016 16:53
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 fm/062c043b7fb4887a9058 to your computer and use it in GitHub Desktop.
Save fm/062c043b7fb4887a9058 to your computer and use it in GitHub Desktop.
## Adapted from the Grav Troubleshooting Documentation
#!/bin/sh
chown faisal:apache .
chown -R faisal:apache *
find . -type f | xargs chmod 664
find ./bin -type f | xargs chmod 775
find . -type d | xargs chmod 775
find . -type d | xargs chmod +s
umask 0002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment