You are not logged in.
how to i set a umask 0002 for apache so that i can get it permission to write to cache directory inside my home directory? each time i clear the cache in symfony2 framework, theres problems, i have used setfacl to no avail either
setfacl -R -m u:http:rwX -m u:myuser:rwX app/logs
now im trying umask to see if that helps. each time i chown the directory, when the files get recreated they get set to 755, and since the groups is 'user' and not 'http' apache loses write access.
i was going to try something like this http://stackoverflow.com/questions/4284 … pache-user
scroll down to "Steting up permissions" on this page to see whats going on here http://symfony.com/doc/current/book/installation.html
if anybody sees the solution here, please do tell.....
thanks
Offline
If I understand correctly, ACLs are set for directories that will get deleted during cache cleaning, so they will get purged as well. Also according to http://symfony.com/doc/current/book/installation.html you don't have to set umask in apache, but in some php files, just check the part about "Without using ACL" at the same webpage.
English isn't my first language.
Is Arch Linux user called archer? Where are our bows and arrows?
Offline
thanks for pointing this out, about the part of not having to set umask in apache, i did read that long before i got too deep, and it looks like it might work. ill see how far i can get adding those to the config. maybe thats what im missing! hopeful..
Offline