Skip to content

Instantly share code, notes, and snippets.

@bsa7
Created October 9, 2015 10:29
Show Gist options
  • Save bsa7/b52dfb7147c4455081d4 to your computer and use it in GitHub Desktop.
Save bsa7/b52dfb7147c4455081d4 to your computer and use it in GitHub Desktop.
recursive set proper mode for files and folders
sudo find . -type f -exec chmod 644 {} \;
sudo find -type d -exec chmod 755 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment