View Full Version : uploaded image files need different file permissions

July 28th, 2004, 04:53 PM

Not sure if this is a setting somewhere in PhotoPost, but I need to change the file permissions that are placed on all uploaded image files. Currently they are being set to 755 and I need them to be 664. Is there somewhere within PhotoPost that this can be changed? :confused:


Chuck S
July 28th, 2004, 06:55 PM
Actually our program does not set them to 755 so that must be a server thing for you.

In image-inc.php they are set to 666

@chmod ($dst_file, 0666);

Note this is attempted since not all servers prevent chmod and I would assume on yours there are being set to server default of 755 by the server. In most cases where user's files are not set to 666 they are then defaulted to 644

July 28th, 2004, 08:48 PM
Thanks for the quick reply!
I will get it sorted on the server :cool:
Best Wishes,

Chuck S
July 28th, 2004, 10:45 PM
No Problem

Yeah I have seen on certain servers hosts will make it so that all files set to a default of 755 no matter what it is