Skip to content

Instantly share code, notes, and snippets.

@DanieBeets
Created October 12, 2019 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanieBeets/647c760416635c03aa586e00d0eb9611 to your computer and use it in GitHub Desktop.
Save DanieBeets/647c760416635c03aa586e00d0eb9611 to your computer and use it in GitHub Desktop.
Reset permissions on linux

Directories

find . -type d -exec chmod 755 {} ;

Files

find . -type f -exec chmod 644 {} ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment