ID: 50163
Updated by: pajoye@php.net
Reported By: be3ch at centrum dot cz
Status: Open
Bug Type: Filesystem function related
Operating System: win32 only - Windows 2003 Server
PHP Version: 5.2.11
Assigned To: pajoye
New Comment:
I fail to reproduce this problem. No matter the OS or configuration,
using 5.3 or 5.2.
Previous Comments:
------------------------------------------------------------------------
[2009-11-20 08:42:15] be3ch at centrum dot cz
Any progress? :)
------------------------------------------------------------------------
[2009-11-14 08:48:38] be3ch at centrum dot cz
open_basedir and include_path are for every case same :
open_basedir = D:\wwwroot\testcom;D:\tmp\System;D:\tmp\Php
include_path = .;D:\wwwroot\testcom\www;D:\wwwroot\testcom
If open_basedir is disabled (empty), result of test script with
relative path is : bool(false) . Result with full path is correctly :
bool(true).
------------------------------------------------------------------------
[2009-11-14 02:34:44] ksingla@php.net
Can you paste the value of include_path directive
(ini_get('include_path')) for each of the cases? Given that fullpath to
file works with just read permissions tell that relative path test.php
is getting resolved to some other path which is outside open_basedir.
Strange that adding execute permission make it resolve to a different
path.
------------------------------------------------------------------------
[2009-11-13 12:15:32] be3ch at centrum dot cz
D:\wwwroot>icacls D:\wwwroot\testcom\
D:\wwwroot\testcom\ NT AUTHORITY\SYSTEM:(OI)(CI)(F)
NT AUTHORITY\NETWORK SERVICE:(OI)(CI)(R)
BUILTIN\Administrators:(OI)(CI)(F)
TEST_SERVER\G6FTPUser:(OI)(CI)(R,W,D,DC)
TEST_SERVER\IUSR_testcom:(OI)(CI)(R)
Successfully processed 1 files; Failed processing 0 files
D:\wwwroot>icacls D:\wwwroot\testcom\www
D:\wwwroot\testcom\www BUILTIN\Administrators:(OI)(CI)(F)
TEST_SERVER\G6FTPUser:(OI)(CI)(R,W,D,DC)
TEST_SERVER\IUSR_testcom:(OI)(CI)(R)
NT AUTHORITY\NETWORK SERVICE:(OI)(CI)(R)
NT AUTHORITY\SYSTEM:(OI)(CI)(F)
Successfully processed 1 files; Failed processing 0 files
------------------------------------------------------------------------
[2009-11-13 12:02:05] pajoye@php.net
Pls run:
icacls D:\wwwroot\testcom\
icacls D:\wwwroot\testcom\www\
and past the result here. So we can try to reproduce your problem with
the same settings.
------------------------------------------------------------------------
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/50163--
Edit this bug report at http://bugs.php.net/?id=50163&edit=1