Created
October 18, 2015 19:47
-
-
Save AdamLawicki/1fe7d4de8bc3e81d75f7 to your computer and use it in GitHub Desktop.
Alter directory permissions of /var/www (and subdirectories) to add group write permissions and set group ID on future subdirectories
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
[ec2-user ~]$ sudo chmod 2775 /var/www | |
[ec2-user ~]$ find /var/www -type d -exec sudo chmod 2775 {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment