Image manager - strange permission problems 1.0.6/1.0.8
Posted: Fri Jul 06, 2007 11:44 am
/uploads/images -> chmod 777
admin settings -> umask 022
Webspace 1 - cms ms 1.0.8:
upload image -> chmod 204
thumbnail -> chmod 640
new folder -> chmod 751
upload image in this folder -> chmod 204
thumbnail -> chmod 640
Deleting the thumbnail for testing.
Now cms ms is unable to generate a new thumbnail.
Changing image from 204 to chmod 644.
Now cms ms is able to generate the thumbnail again.
new thumbnail -> chmod 640
Problem is, I cannot see any thumbnails at this webspace in the image manager.
Changing the thumbnails to chmod 644, now I can see them.
Webspace 2 - cms ms 1.0.6:
upload image -> chmod 664
thumbnail -> chmod 640
new folder -> chmod 751
upload image in this folder -> chmod 204
thumbnail -> chmod 640
At this webspace I can see all thumbnails.
Would it be possible to fix the code in order to have all files with a chmod defined by the umask (644)?
admin settings -> umask 022
Webspace 1 - cms ms 1.0.8:
upload image -> chmod 204
thumbnail -> chmod 640
new folder -> chmod 751
upload image in this folder -> chmod 204
thumbnail -> chmod 640
Deleting the thumbnail for testing.
Now cms ms is unable to generate a new thumbnail.
Changing image from 204 to chmod 644.
Now cms ms is able to generate the thumbnail again.
new thumbnail -> chmod 640
Problem is, I cannot see any thumbnails at this webspace in the image manager.
Changing the thumbnails to chmod 644, now I can see them.
Webspace 2 - cms ms 1.0.6:
upload image -> chmod 664
thumbnail -> chmod 640
new folder -> chmod 751
upload image in this folder -> chmod 204
thumbnail -> chmod 640
At this webspace I can see all thumbnails.
Would it be possible to fix the code in order to have all files with a chmod defined by the umask (644)?