Last active
October 24, 2015 01:26
-
-
Save NoMan2000/b6d1264768af410113fc to your computer and use it in GitHub Desktop.
Change Permissions on Unix to 775 for directories and 664 for files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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