Symfony2 - Deployment cache no setfacl

Viewed 5613

I'm trying to deploy my first Symfony2 app.

Blank screen when trying to access it.

Checking the log:

$ sudo tail -f /var/log/apache2/error.log

[...] Uncaught exception 'RuntimeException' with message 'Failed to write cache file [...]

Trying to put the good rights on cache & logs

$ sudo chmod +a "www-data allow delete,write,[...]" app/cache app/logs

chmod: invalid mode: `+a'

Trying with setfacl

$ sudo setfacl -R -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs

setfacl: app/cache: Operation not supported
setfacl: app/logs: Operation not supported

I imagine my partition is not mounted with acl or something similar.

Couldn't I simply chown www-data cache & logs ?

2 Answers
Related