Created
February 11, 2014 14:57
-
-
Save cadavre/8936367 to your computer and use it in GitHub Desktop.
Sf2-fix-perms.sh
This file contains hidden or 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 rm -rf app/cache/* | |
sudo chmod 777 -Rf app/cache/* | |
sudo chmod 777 -Rf app/logs/* | |
sudo setfacl -R -m u:www-data:rwX -m u:`whoami`:rwX app/cache app/logs | |
sudo setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs | |
app/console cache:clear --no-warmup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment