Skip to content

Instantly share code, notes, and snippets.

@adamrunner
Last active December 24, 2018 16:37
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 adamrunner/3293a0b5a9c163ccbe05e5115a64044e to your computer and use it in GitHub Desktop.
Save adamrunner/3293a0b5a9c163ccbe05e5115a64044e to your computer and use it in GitHub Desktop.
use these commands to fix file system permissions separately for files and directories
find . -type d -exec chmod 0700 '{}' \;
find . -type f -exec chmod 0600 '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment