Last active
August 29, 2015 14:20
-
-
Save djandyr/86b811d770fabc756645 to your computer and use it in GitHub Desktop.
Fix Symfony Permission in XAMPP
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
rm -rf app/cache/* | |
rm -rf app/logs/* | |
# Make sure the HTTPDUSER is correct | |
# egrep -iw 'user' /Applications/XAMPP/etc/httpd.conf | |
HTTPDUSER=daemon | |
sudo chmod +a "$HTTPDUSER 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