ID:               49742
 Updated by:       [email protected]
 Reported By:      kanadian at kanadian dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         Filesystem function related
 Operating System: Windows Vista
 PHP Version:      5.3.0
 New Comment:

Already reported and fixed in SVN. Try a SNV snapshot.


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

[2009-10-02 01:34:01] kanadian at kanadian dot net

Description:
------------
fopen failes to read after making of junction with exec("mklink target
link") and symlink(target, link) failes totaly

Reproduce code:
---------------
<?php
$link = "c:\new\"
$linkfile = "test.txt";
$target = "c:\users\User_Name\music\";
$mklink = $link." ".$target;

symlink($link, $target); // failes totaly
exec("mklink /j ".$mklink); // works
fclose(fopen($linkfile, "x")); // will work to create the file
$handler = fopen($linkfile, "rb"); // fails to open file

echo is_file($linkfile); // returns true as file is there

?>

Expected result:
----------------
to open/read the file behind a junction link

Actual result:
--------------
fails to open/read behind junction link


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


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

Reply via email to