I'm stumped on this one, for the longest time when I clicked the "Clear Caches" button in the CP, everything seemed to be ok. But I recently checked the craft.log after noticing things didn't seem to be clearing out after all. There was this error:
2016-02-16 09:25:11
Level error
Category application
Message Tried to read the folder contents of /home/[company-name]/craft/storage/runtime/temp/, but could not.
2016-02-16 09:25:11
Level error
Category application
Message Tried to read the folder contents of /home/[company-name]/craft/storage/runtime/assets/, but could not.
2016-02-16 09:25:11
Level error
Category application
Message Tried to read the folder contents of /home/[company-name]/craft/storage/runtime/cache/, but could not.
The permissions are as follows:
/craft 755
/storage 777
/runtime 777
/temp 777
empty
/assets 777
empty
/cache 777
09f795de983f214fb0e9188dd884ec27.bin 664
+another 26 of the same - these don't clear when I click the clear cache button
I tried changing the 664 to 777 but it reverted itself back to 664.
Any thoughts are appreciated!