Bug #51860 [Com]: Include fails with toplevel symlink to /

From: Date: Fri, 21 Jan 2011 09:34:00 +0000
Subject: Bug #51860 [Com]: Include fails with toplevel symlink to /
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-158039@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51860&edit=1

 ID:                 51860
 Comment by:         plubber at gmx dot ch
 Reported by:        stephan dot suerken at 1und1 dot de
 Summary:            Include fails with toplevel symlink to /
 Status:             Open
 Type:               Bug
 Package:            Scripting Engine problem
 PHP Version:        5.3.2
 Block user comment: N
 Private report:     N

 New Comment:

no solution?

I have the same problem with mounted NFS


Previous Comments:
------------------------------------------------------------------------
[2011-01-12 17:47:37] rainer at hosting-ist-mein-leben dot de

I mean 5.3.5

------------------------------------------------------------------------
[2011-01-12 17:46:30] rainer at hosting-ist-mein-leben dot de

Problem also in the new version (5.3.3)

------------------------------------------------------------------------
[2010-08-13 17:08:41] rainer at hosting-ist-mein-leben dot de

Problem also in the new version (5.3.3)

------------------------------------------------------------------------
[2010-06-27 12:26:44] rainer at hosting-ist-mein-leben dot de

Hi,

we got this problem too. We need a fix for this. Plz. thx.

cu
Rainer

------------------------------------------------------------------------
[2010-05-21 14:04:12] stephan dot suerken at 1und1 dot de

> [2010-05-21 09:37 UTC] thekid@php.net

> Wait:

> So if the executed script itself is inside the symlink'd directory, 
> VCWD_REALPATH() does not correctly work (used by both include /
require and
> realpath(), that's why I'm using the latter here)

Great, thanks, that sounds much like what I expected ;).

If it might be helpful, I already stepped through the code with gdb
(breaking in some top level *resolve_path (cant remeber exaytly right
now) function ), finding the bug does _not_ occur then; maybe this hints
to some strange race condition.

Thx,

Stephan

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


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/bug.php?id=51860


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


Thread (23 messages)

« previous php.bugs (#158039) next »