#50542 [Fbk->Opn]: scandir() cannot open UNC paths since PHP 5.3.1
| From: | dd at headlineweb dot nl | Date: | Sat, 09 Jan 2010 08:47:18 +0000 |
| Subject: | #50542 [Fbk->Opn]: scandir() cannot open UNC paths since PHP 5.3.1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-146476@lists.php.net to get a copy of this message | ||
ID: 50542
User updated by: dd at headlineweb dot nl
Reported By: dd at headlineweb dot nl
-Status: Feedback
+Status: Open
Bug Type: *Directory/Filesystem functions
Operating System: win32 only - W2003
PHP Version: 5.3.1
Assigned To: pajoye
New Comment:
The server where PHP is running has RDP enabled, but our system
administrator does not give permission.
if you want to do some test, maybe i can do the tests for you?
BTW: the call is as follows
Client --HTTP--> W2003 Server --UNC--> Another W2003 Server
Previous Comments:
------------------------------------------------------------------------
[2010-01-08 19:57:53] bramus at bram dot us
pajoye,
I can provide you with an FTPS/WEB account on the server so that you
can run some test files on it; I hope that's sufficient enough (or at
least "a start") as I can not give you full access (viz. RDP access w.
Admin privileges) to the server.
Regards,
Bram.
------------------------------------------------------------------------
[2010-01-08 16:49:34] pajoye@php.net
It works just fine here, using WS03 as server (where the UNC path is)
or client (fetching from).
If one of you can give me a remote access to debug, I could help. But
I'm not able to reproduce this problem using any of the tests system I
use.
------------------------------------------------------------------------
[2010-01-08 15:32:06] bramus at bram dot us
Having the same issue here, cannot access *any* file on an UNC path via
fopen, file_put_contents, etc. Even file_exists returns false.
User has sufficient permissions (impersonate is active) + All worked
fine under PHP 5.2.x (Additionally: even if I set permissions for
"Everyone" to have full access to the given UNC path it will not work).
Running IIS7, PHP is configured as a FastCGI Module.
------------------------------------------------------------------------
[2009-12-21 14:49:11] dd at headlineweb dot nl
thanks pajoye,
yes, i use impersonate and the user has access to the share
------------------------------------------------------------------------
[2009-12-21 14:46:39] pajoye@php.net
I will test it once I'm back home after my holidays.
However, I can say that it works just fine, having use this feature
last week. Did you use impersonate? Or are you sure that the user
running php has access to this share?
------------------------------------------------------------------------
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/50542
--
Edit this bug report at http://bugs.php.net/?id=50542&edit=1