Skip to content

Instantly share code, notes, and snippets.

@noeljackson
Created September 6, 2018 11:27
Show Gist options
  • Save noeljackson/d8fcef86287076c9211b0e4c21fe97aa to your computer and use it in GitHub Desktop.
Save noeljackson/d8fcef86287076c9211b0e4c21fe97aa to your computer and use it in GitHub Desktop.
fixperms.sh
#For directories only do this.
find . -type d -exec chmod 775 {} \;
#For files only do this.
find . -type f -exec chmod 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment