Skip to content

Instantly share code, notes, and snippets.

@omurphy27
Last active January 5, 2016 09:52
Show Gist options
  • Save omurphy27/206ea82487aaecf441f8 to your computer and use it in GitHub Desktop.
Save omurphy27/206ea82487aaecf441f8 to your computer and use it in GitHub Desktop.
SSH - Change Permissions of all directories to 755 and all files to 644
// credit http://stackoverflow.com/questions/3740152/how-to-set-chmod-for-a-folder-and-all-of-its-subfolders-and-files-in-linux-ubunt
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment