#25469 [Opn->Bgs]: PHP has problems with accessing files and directorys in a windows share

From: Date: Wed, 10 Sep 2003 22:43:20 +0000
Subject: #25469 [Opn->Bgs]: PHP has problems with accessing files and directorys in a windows share
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47406@lists.php.net to get a copy of this message
ID: 25469 Updated by: sniper@php.net Reported By: christian at freemails dot at -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: Windows NT 5.2 build 3790 PHP Version: 4.3.2 New Comment: 1. 4.3.3 is already released 2. And it's the permissions. Not bug. Previous Comments: ------------------------------------------------------------------------ [2003-09-10 11:25:48] christian at freemails dot at Description: ------------ well, I expierenced today this error message (see the output field in the bugreport) But I checked it by running cmd.exe (the Windows NT standard shell) as webserver user and I can simply access any files. The share is writable and on a FAT32 partition so no chmods or so on apply. Well some PHP details: It seems that I can use any filesystem function in PHP to fail to access it. (tested with file) file_exists return false. I am using PHP as apache module as distributed on www.php.net Apache 1.3.28 with PHP 4.3.2 Something that maybe apply: Today I upgraded my Apache to 1.3.28 from 1.3.27. Reproduce code: --------------- <?php var_dump( file("\\\\somehost\\someshare\\somefile.txt") ); /* (line 8 is quoted in the bugreport) */ ?> Actual result: -------------- Warning: file(\\pc4\hd2\do_chroot) [function.file.php]: failed to open stream: Permission denied in c:\programme\apache group\apache\htdocs\somescript.php on line 8 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25469&edit=1

« previous php.bugs (#47406) next »