Skip to content

Instantly share code, notes, and snippets.

@spuf
Created April 24, 2016 12:32
Show Gist options
  • Save spuf/f2d5b8889624912b58acb6a125d352d1 to your computer and use it in GitHub Desktop.
Save spuf/f2d5b8889624912b58acb6a125d352d1 to your computer and use it in GitHub Desktop.
Restore chmod recursively
chmod -R u=rwX,go=rX .
find . -type f -exec chmod -x {} \;
chmod -R -N .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment