Skip to content

Instantly share code, notes, and snippets.

@thomashan
Created October 18, 2019 04:49
Show Gist options
  • Save thomashan/e365888460cf9313d4fe54811dd4499c to your computer and use it in GitHub Desktop.
Save thomashan/e365888460cf9313d4fe54811dd4499c to your computer and use it in GitHub Desktop.
Recursively change the permission for directories or files
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment