Current time: 11-16-2024, 03:23 PM Hello There, Guest! (LoginRegister)


Post Reply 
PHP uploads are not readable
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #12
RE: PHP uploads are not readable
Just one more thing:

If the upload_tmp_dir is on the same filesystem as the upload-folder (normally the webspace) then the uploaded file has 0600 rights (-rw-------). If it's on a different filesystem then it has 0644 (-rw-r--r--) ... (or sth else if the umask is not 0022)...

Seems to be a PHP bug.

Conclusion for ispcp:
put the upload dir for problematic domains to another perition on the harddisc.

/J

2. Edit: Further infos see php bug
http://bugs.php.net/bug.php?id=42291
(This post was last modified: 11-05-2007 01:40 AM by joximu.)
11-05-2007 01:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
PHP uploads are not readable - Eminos - 11-03-2007, 10:48 PM
RE: PHP uploads are not readable - rbtux - 11-03-2007, 11:25 PM
RE: PHP uploads are not readable - Eminos - 11-04-2007, 12:06 AM
RE: PHP uploads are not readable - joximu - 11-03-2007, 11:57 PM
RE: PHP uploads are not readable - Eminos - 11-03-2007, 11:59 PM
RE: PHP uploads are not readable - joximu - 11-04-2007, 03:57 AM
RE: PHP uploads are not readable - Eminos - 11-04-2007, 04:07 AM
RE: PHP uploads are not readable - rbtux - 11-04-2007, 12:09 AM
RE: PHP uploads are not readable - joximu - 11-04-2007, 10:36 AM
RE: PHP uploads are not readable - Eminos - 11-04-2007, 11:49 AM
RE: PHP uploads are not readable - joximu - 11-04-2007, 09:13 PM
RE: PHP uploads are not readable - joximu - 11-05-2007 01:27 AM
RE: PHP uploads are not readable - Marcel - 11-13-2007, 06:49 AM
RE: PHP uploads are not readable - BeNe - 11-13-2007, 06:54 AM
RE: PHP uploads are not readable - rbtux - 11-13-2007, 06:55 AM
RE: PHP uploads are not readable - Marcel - 12-09-2007, 02:16 AM
RE: PHP uploads are not readable - RatS - 12-09-2007, 04:55 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)