I have Joomla! 2.5.18 and when I clean cache are either folders inside /cache newly created or overwritten with permission from 755 to 640.
Why is that happening?
I've checked through the files and there is nowhere set that newly created files should be created with permission 640. For all the components to work properly I need this kind of permissions.
Even the user (and group) is the same as for every folder.
Where is exactly is this defined? At some file?
Thank you for any help.