uploaded files have the permissions: 600

extor

Verified User
Joined
Jul 15, 2004
Messages
72
Location
The Netherlands
Hello,

Since I have installed suPHP om my server all files (images) that have been uploaded (with a PHP script) get automaticly the 600 file permissions.

While a image get 600 it won't be visible to visitors of the website so the image must be chmod'ed to 644.

Is there a file/manner to set somewhere that files that being uploaded have the 644 instead of the 600 permissies, like you can do it for the public_html (http://www.directadmin.com/features.php?id=497)?

Thanks in advance!
 
i have the same problem ( with suphp )

all avatar uploaded by forum.. the avatar get the mod 600

so he cannot to be view on the web

any idea ?
 
My 2 cents here. If I upload files with DA (or if I extract tar package or move files or copy files with DA) the permissions are wrong. Permission are set to user:user 755 and the page is not working. If I upload files through ftp then all is ok and permission are set to user:apache 644 -> files and 755 ->directory's. So if users use DA file manager and try to move or copy files then their permissions messes up. Is there any fix for that or this is normal ? :rolleyes:

Regards
 
I've see and read about the 600 persmissions with certain scripts. For me it was using Xinha editor with Etomite or WebsiteBaker. Part of it was solved by having Xinha change the file permissions after upload. But there where other problems with Xinah creating preview thumbnails.

Eventually I switched to FCK Editor and this script file uploads worked correctly with 644 permissions set to uploaded files.
 
Back
Top