PhotoPost Community

PhotoPost Community (
-   General Discussion (
-   -   uploaded image files need different file permissions (

flumpydog July 28th, 2004 03:53 PM

uploaded image files need different file permissions

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 05: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

flumpydog July 28th, 2004 07:48 PM

Thanks for the quick reply!
I will get it sorted on the server :cool:
Best Wishes,

Chuck S July 28th, 2004 09: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

All times are GMT -5. The time now is 11:27 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.