Bug #51945 [Asn->Opn]: Symlink() Fails On DFS Shares
Edit report at https://bugs.php.net/bug.php?id=51945&edit=1
ID: 51945
Updated by: kalle@php.net
Reported by: v-sumada at microsoft dot com
Summary: Symlink() Fails On DFS Shares
-Status: Assigned
+Status: Open
Type: Bug
Package: Filesystem function related
Operating System: windows 2008, 2008R2,2003
PHP Version: 5.3.2
-Assigned To: pajoye
+Assigned To:
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2011-11-29 15:42:44] php at cresstone dot com
This appears to be fixed in 5.4, tested using: "PHP 5.4.0RC2-dev (cli) (built: Nov 21 2011
20:03:16)"
------------------------------------------------------------------------
[2010-05-28 19:20:01] v-sumada at microsoft dot com
Description:
------------
We have a DFS Standalone namespace created at the 2008 Server with a new folder which has been
given a target as remote share .We are trying to create a symlink in this remote Share from 2008R2
Server for a directory and as well as File and Both the cases Fail.The Expected result is failure in
creating the symlink using symlink(). The processs Montior show with the result of "Name Not
Found" in creating a symlink.
Test script:
---------------
<?php
$path ='\\\\winhost-name\\namespace\\folder\\';
$dir_name = "symlinkdir";
$symlink_name = "symlinktodir";
var_dump(mkdir($dir_name,0777,true));
var_dump(symlink($dir_name,symlink_name));
?>
Expected result:
----------------
bool(true)
bool(true)
Actual result:
--------------
bool(true)
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=51945&edit=1
Thread (5 messages)