PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/index.php)
-   General Discussion (http://www.photopost.com/forum/forumdisplay.php?f=68)
-   -   uploaded image files need different file permissions (http://www.photopost.com/forum/showthread.php?t=109382)

flumpydog July 28th, 2004 03:53 PM

uploaded image files need different file permissions
 
Hi,

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:

Thanks!
Chuck

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

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 12:08 AM.

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