Last active
December 17, 2015 18:28
-
-
Save matteocaberlotto/5652919 to your computer and use it in GitHub Desktop.
Symfony cache/log folders permissions setup
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
# chmod | |
chmod +a "_www allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs | |
chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs | |
# setfacl | |
setfacl -R -m u:www-data:rwX -m u:`whoami`:rwX app/cache app/logs | |
setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment