https://www.posetteforever.com/viewtopic.php?f=11&t=1421&p=21158#p21158
-----------------------------------
Visitor
Wednesday, 11 May 2005, 03:35 PM


-----------------------------------
I noticed the thumbnail problem when I uploaded the "Lost" installment of the story.  I didn't say anything at the time, because, I thought that the all black image was a borderline situation that the software didn't know how to handle.

By the way, the permission setting of 644 provides read and write permission to the file owner, read permission to the group and read permission to other (aka world readable).  While a 600  setting permits read and write access by the file owner and no access to anyone else except by root.

Have you verified that the part of the program that generates thumbnails has not been modified?  Also the mask setting for the user under which the sites code runs can casue this problem.  This is being run on a Windows based server, so the following will depend on how well it is simulating a unix environment.

Do you have shell access as that user that the site runs as?  If so you can verify the mask setting by entering this command "umask".  executing that command, you should see 0022.  If you instead see somthing more like 0066, or 0177, then the problem is that the default umask setting has been altered.

Either way, the source of the code handling the thumbnail generation should be able to be modified to explicitly set the file permissions for the generated files to 644, reguardless of the umask setting.

Pangor


