Skip to content

Instantly share code, notes, and snippets.

@davidkryzaniak
Created February 22, 2016 23:31
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 davidkryzaniak/89e084fa14eb66b9a7ee to your computer and use it in GitHub Desktop.
Save davidkryzaniak/89e084fa14eb66b9a7ee to your computer and use it in GitHub Desktop.
find . -mindepth 1 -type f -exec chmod 644 {} \;
find . -mindepth 1 -type f -name "*.php" -exec chmod 600 {} \;
find . -mindepth 1 -type d -exec chmod 755 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment