In image.module line 544 the image file is chmod'ed -

@chmod($temp_file, 0644);

However the thumbnail (and additional static images) are created but never have their permissions explicitly set. This can cause the resultant files to be non-readable by the web server (as in my case). By explicitly chmod'ing the files in question to 644 this problem is fixed.

Comments

Uwe Hermann’s picture

drewish’s picture

Version: 4.5.x-1.x-dev » 4.6.x-1.x-dev
Component: Code » image.module
Status: Active » Closed (fixed)

i'm trying to clean up the image module's issue queue. this issue looks like it's been resolved by more recent versions of the module. feel free to re-open this if you disagree.