ID: 48746 Updated by: paj...@php.net Reported By: ddkees at illinois dot edu -Status: No Feedback +Status: Assigned Bug Type: Directory function related Operating System: win32 only - Windows Server 2003 PHP Version: 5.3.0 Assigned To: pajoye
Previous Comments: ------------------------------------------------------------------------ [2009-08-19 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2009-08-11 12:26:41] phpstuff at cresstone dot com 'mnt' is a regular directory. 'junction' was indeed pointing to the root of a volume. However, I get exactly the same behavior if I create the junction as a link to anouther directory via the junction.exe from sysinternals. Again, this is a log from Windows 7 x64: C:\mnt\test>type phptest.php <?php var_dump(file_exists('junction')); var_dump(file_exists('directory')); ?> C:\mnt\test>dir Volume in drive C is coreI7_System Volume Serial Number is 38E2-2B62 Directory of C:\mnt\test 2009.08.10 16.11 <DIR> . 2009.08.10 16.11 <DIR> .. 2009.08.11 08.22 <DIR> directory 2009.08.10 16.10 <JUNCTION> junction [\??\C:\mnt\test\directory] 2009.08.10 16.11 82 phptest.php 1 File(s) 82 bytes 4 Dir(s) 24,210,726,912 bytes free C:\mnt\test>php.exe phptest.php bool(false) bool(true) ------------------------------------------------------------------------ [2009-08-11 06:32:56] paj...@php.net Did you mount another drive in c:\mnt? ------------------------------------------------------------------------ [2009-08-11 05:39:54] paj...@php.net Sorry but I can't reproduce it on vista/win7/2k8 but only on 2k3 and xp. How exactly did you create the junctions on these platforms? It looks like you create a junction to the root of another drive, right? ------------------------------------------------------------------------ [2009-08-10 22:30:09] phpstuff at cresstone dot com For what it's worth, I've reproduced the incorrect behavior on the following OSes so far: Windows 7 x64 Vista x64 SP2 Server 2003 x64 SP2 XP SP2 For other readers, these are the submitted issues I've found that may be related to this bug: http://bugs.php.net/bug.php?id=48778 http://bugs.php.net/bug.php?id=48746 http://bugs.php.net/bug.php?id=48975 http://bugs.php.net/bug.php?id=49039 ------------------------------------------------------------------------ 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/48746 -- Edit this bug report at http://bugs.php.net/?id=48746&edit=1