Created
March 26, 2012 16:05
-
-
Save ornj/2206184 to your computer and use it in GitHub Desktop.
Quick permissions fix for new Symfony 2 projects. Replace user `www` on line 4 with apache's user.
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
rm -rf app/cache/* | |
rm -rf app/logs/* | |
sudo chmod +a "www allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs | |
sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment