-
-
Save t3easy/c2a7eccf2c77f8d1c42f to your computer and use it in GitHub Desktop.
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
# As Markus Blaschke pointed out there is a way better solution to this. Thanks! | |
# https://twitter.com/MarkusBlaschke | |
for folder in fileadmin typo3conf typo3temp uploads | |
do | |
find $folder -type d -print0 | xargs -0 chmod 2770 | |
find $folder -type f -print0 | xargs -0 chmod 0660 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment