Skip to content

Instantly share code, notes, and snippets.

@andrewrynhard
Created July 3, 2017 16:08
Show Gist options
  • Save andrewrynhard/c8c07624eecf03bb868f2ff0f110eb3f to your computer and use it in GitHub Desktop.
Save andrewrynhard/c8c07624eecf03bb868f2ff0f110eb3f to your computer and use it in GitHub Desktop.
Fixes file and directory permissions to the default.
find . -type d -print0 | xargs -0 chmod -v 0755
find . -type f -print0 | xargs -0 chmod -v 0644
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment