Skip to content

Instantly share code, notes, and snippets.

@NoMan2000
Last active October 24, 2015 01:26
Show Gist options
  • Save NoMan2000/b6d1264768af410113fc to your computer and use it in GitHub Desktop.
Save NoMan2000/b6d1264768af410113fc to your computer and use it in GitHub Desktop.
Change Permissions on Unix to 775 for directories and 664 for files
sudo find . -type f | xargs chmod -v 664
sudo find . -type d | xargs chmod -v 775
sudo chmod -R u=rwX,g=rwX,o=rX .
sudo chown -R ubuntu:www-data .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment