Bug #51945 [Opn->Csd]: Symlink() Fails On DFS Shares

From: Date: Tue, 24 Oct 2017 07:51:50 +0000
Subject: Bug #51945 [Opn->Csd]: Symlink() Fails On DFS Shares
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212164@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=51945&edit=1 ID: 51945 Updated by: requinix@php.net Reported by: v-sumada at microsoft dot com Summary: Symlink() Fails On DFS Shares -Status: Open +Status: Closed Type: Bug Package: Filesystem function related Operating System: windows 2008, 2008R2,2003 PHP Version: 5.3.2 -Assigned To: +Assigned To: requinix Block user comment: N Private report: N New Comment: Closing per cresstone's comment. 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

« previous php.bugs (#212164) next »