Thread:Project:Support desk/Image Permissions

A wiki that we had had running for about a year has suddenly started having problems displaying images on a page. Instead of the image, a link to the image is displayed. Images are embedded using. If a user clicks on the link, he is taken to the page for the uploaded file. All metadata, image description, etc. is displayed properly, as is a thumbnail of the image. However, if the user clicks on the thumbnail in order to see a full size version of the image, they receive a permission denied error such as:

Forbidden You don't have permission to access /MediaWiki/images/d/d0/Tom.JPG on this server.

I have uploaded new images, and they display on pages correctly. I have tried replacing images that are having permission issues, but receive the following error message:

Could not rename file "public/c/c0/Retired.png" to "public/archive/c/c0/20130219222125!Retired.png

I receive a similar error message if I simply try to delete an image.

Checking the image directory on the host, all of the images, including newly uploaded ones, have permissions of "-rw-r--r--. 1 apache apache", which is what is expected.

I've already tried removing the .htaccess file from the images directory, and that has had no effect. I've also retrieved a number of the "problem" images vis SFTP from the wiki host, and all images display correctly on my local machine, so I assume the image files themselves have not been corrupted.

So, with all this information, does anyone have any ideas as to what the problem is, and how I can go about fixing it? The wiki in question does not have a *lot* of images, around 175 so far, but I would very much prefer to not simply rename and re-upload all of the images, and then edit a few hundred pages to use the "new" images.

Thanks!