Skip to content

Instantly share code, notes, and snippets.

@TrevorS
Created April 28, 2015 22:49
Show Gist options
  • Save TrevorS/e1a016490a6d95562d81 to your computer and use it in GitHub Desktop.
Save TrevorS/e1a016490a6d95562d81 to your computer and use it in GitHub Desktop.
fix permissions in a Rails application
find . -type f ! -path "./.git/*" ! -path "./bin/*" -perm 755 -exec chmod 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment