ID:               40537
 Updated by:       [EMAIL PROTECTED]
 Reported By:      stloukal at programator dot cz
-Status:           Open
+Status:           Feedback
 Bug Type:         Filesystem function related
 Operating System: FC4, 2.6.17
 PHP Version:      5.2.1
 New Comment:

Somehow I figured that out myself, thanks.
Please remove open_basedir and see if it makes any difference.


Previous Comments:
------------------------------------------------------------------------

[2007-02-26 15:28:53] stloukal at programator dot cz

Addition to [26 Feb 3:23pm UTC]: please change the line 7 in script -
use "$path = '../tmp/'.$name;" instead of "$path = '../../tmp/'.$name;"

------------------------------------------------------------------------

[2007-02-26 15:28:49] [EMAIL PROTECTED]

uploaded: /www/tmp/phpweyhUK = 1 
moved: ../tmp/galerie_DSCF6801_resize.JPG = 1

Works perfectly fine.

------------------------------------------------------------------------

[2007-02-26 15:23:16] stloukal at programator dot cz

OK, sorry for inconvenience. I created in my DocumentRoot
(/var/www/web/) directories "bug_test" and "tmp" (both 0777
permissions). No symlinks are used! Then I placed script
gallery_test.php (see my post from [19 Feb 12:26pm UTC]) into the
bug_test directory. That's all. Script behaviour matches the described
bug.

------------------------------------------------------------------------

[2007-02-26 12:53:11] [EMAIL PROTECTED]

I'm totally lost in your paths,
"/home/chroot/home/krtek/web/tuzemsko/tmp/", which is actually
"/var/www/web/tuzemsko/krtek/web/tuzemsko/tmp" is a bit hard to read
and recreate.
Please provide simple and clear directory structure I need to create in
order to reproduce it.
For example:
/www/tmp - upload dir
/www - scripts dir
etc. etc.

------------------------------------------------------------------------

[2007-02-26 12:42:27] stloukal at programator dot cz

Hello,

I don't know, what to fix. I can use the same configuration, the same
symlinks, the same script and when I change the name of the target
directory (e.g. ../../tmp/test/ or ../../temp/) everything works fine
without problems. I don't think the problem is in the symlinks. Even if
I create symlink for "tmp" named "temp" and I use "../../temp" path
instead "../../tmp" path, it works fine.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/40537

-- 
Edit this bug report at http://bugs.php.net/?id=40537&edit=1

Reply via email to