After two years and more of my client's bespoke CMS running fine, I get a call saying that the images, pdfs and docs they upload do not appear on their site. Looking into this I find the files are uploaded to the server, but are not readable. They have permission 0600 instead of 0644. I can see all the previously uploaded files on the server with permission value of 0644. One other noticeable thing is the Owner/Group value has changed from 258809/1015 to 258809/0.
From my point of view I think it's a change in the server configuration but the hosts say it's nothing to do with them and no settings have been changed. I can also say that I have made no change to the code in in over two years.
I have made some tests and can change the permissions using chmod function but I don't want to open up the code and go through every type of file they can upload and change the code.
What I want to know is can the configuration be changed somehow to fix this problem? details of server are as follows:
- PHP Version 4.4.1
Any help apreciated, Thanks, Dafydd