![]() |
|
Thumbs receive a "600" chmod - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Thumbs receive a "600" chmod (/thread-428.html) |
Thumbs receive a "600" chmod - TimHyde - 2006-04-10 Please, excuse my english... Everythings works well with my new installation, except for the thumbnails: they are created in the "cache" directory, but with a chmod of "600" (while the directory itself is "777"), so they are inaccessible from the web... Any idea? Thanks alot! Tim Thumbs receive a "600" chmod - trisweb - 2006-04-10 Well, sounds like a weird default for your server... The simple solution is to put this line in i.php:
right after the imagejpeg(...) line at the end of the file (around line 91). That permission might not be the right one... if it doesn't work try others. FYI, I'll probably put this in the next release as a precaution from this happening again. Thumbs receive a "600" chmod - TimHyde - 2006-04-11 chmod($newfile,0644); [without a space after the comma] works ! trisweb, thanks alot for your precious help! And bravo for this extraordinary project! Tim Thumbs receive a "600" chmod - trisweb - 2006-04-11 Great, it's in the codebase from now on. You shouldn't need to worry about it ever again. Thanks for this bug report. Glad to be of help! |