PDA

View Full Version : Permissions on pictures and directories?


jasonp
16th of July 2004 (Fri), 18:25
Trying out the new beta, things look good but having the following issue when uploading photos.

My destination directories have 777 permissions on them (input/UPLOAD, photos, photos/thumb, etc) and are owned by me.

I upload the image via FTP, it leaves my local PC as 644 and arrives in input/UPLOAD as 600 and owned by www user.

I then do the 'resize step', and the resized images are sent to the appropriate directories, but now have 640 permissions and are again owned by me. This results in broken image links due to permissions (apache can't access the files as user www can't see them).

Possibly related - I'm running OS X, and doing everything local.

What am I missing here?

Thanks,
Jason

Pekka
16th of July 2004 (Fri), 18:49
FTP servers have their own setup for default permissions. 644 is what I usually see.... check your ftp server settings. EE does not "make" any permissions on its own at any stage of upload/resize.

jasonp
16th of July 2004 (Fri), 18:57
Wow, that was fast :) I'll check the settings and see what's up.