Hi,

I've tried to dig up as much information as I can but I cant resolve this issue on my own. I'm running Drupal 5.2 and the latest image module and have an issue where when images are uploaded or thumbnails created etc the file permissions on the webserver are set to 600. This is of course a pain as I have to manually reset these to the right permissions before the images work. What I cant understand is why this is happening. The folder relative to drupal is /files/images and its set to 755 which isnt a problem. The files are created under the correct user which is my user as well as the group again my group (same as username). On this host they run php as the php-cgi module so php runs under my credentials. So is there some trick im missing to get the image uploads to set the right permissions. It affects not just this module but also img_assist when it creates the resized ones and the image import. When it all comes down to it though they all link to the image module. Hopefully someone can tell me where im going wrong.

Comments

drewish’s picture

Status: Active » Closed (duplicate)

i think this is a duplicate of http://drupal.org/node/153526