【发布时间】:2014-06-15 16:16:37
【问题描述】:
这个问题可能看起来像所有其他关于缓存问题的问题。 我阅读了所有其他问题及其答案。 它没有帮助,或者我没有找到正确的答案,因为这个互联网充满了“明显”的问题。
以下是这里:
user@gobi:~$ app/console cache:clear --env=prod
root@gobi:~# setfacl -Rdm user:www-data:rwx /.../app/logs
root@gobi:~# setfacl -Rm user:www-data:rwx /.../app/logs
root@gobi:~# setfacl -Rdm user:www-data:rwx /.../app/cache/
root@gobi:~# setfacl -Rm user:www-data:rwx /.../app/cache/
网站作品
user@gobi:~$ app/console cache:clear --env=prod
网站不工作(权限错误)
root@gobi:~# setfacl -Rdm user:www-data:rwx /.../app/logs
root@gobi:~# setfacl -Rm user:www-data:rwx /.../app/logs
root@gobi:~# setfacl -Rdm user:www-data:rwx /.../app/cache/
root@gobi:~# setfacl -Rm user:www-data:rwx /.../app/cache/
网站再次运行
似乎有些文件获得了 u:rw, go:- (/.../app/cache/prod/jms_diextra/controller_injectors) 和其他 ug:rw, o:-
的权限似乎 cache:clear 覆盖了我的 acl 权限 (user:www-data:rwx #effective:r--)
有人帮忙吗?
【问题讨论】: