I get this warning a lot of times. Is this a bug in this module or that of decorator?
Warning: unlink(sites/default/files/decorator/views_decorator/views_fieldrewrite_handler_field_node_comment.inc): Permission denied
Thanks in advance
I get this warning a lot of times. Is this a bug in this module or that of decorator?
Warning: unlink(sites/default/files/decorator/views_decorator/views_fieldrewrite_handler_field_node_comment.inc): Permission denied
Thanks in advance
Comments
Comment #1
wapnik commentedSo you don't have permissions to remove the file from filesystem, or better the user running your apache don't have.
Comment #2
FreeFox commentedI know it sounds like a permission problem but, when I delete them they are created again automatically so the process that writes these file has the rights. The folder is located in the /files folder and the rights are 775 on that one.
There are about 30 files in there and I get 1 warning/file.
I guess it's something like a timing problem. Because when I press CRTL+F5 (clear cache of browser & resfresh the page) the errors are gone.
When anyone has a clue where to look I'm willing to test but I don't know where to start looking.
Comment #3
FreeFox commentedFollow up:
For me its very simple to reproduce now:
Set all directories in this path (/files/decorator/views_decorator) to root:apache and mode 775.
Delete the files in the /views_decorator folder
Do a clear all caches (drush cc all)
check the folder rights
/files/decorator has still root:apache and mode 775
But the /views_decorator directory now has root:root and mode 775
Something in the process has changed the rights on that directory and the files.
Comment #4
wapnik commentedYou can debug the process of creating of files in the decorator module. But i don't think it's a bug.