ID: 50163 User updated by: be3ch at centrum dot cz Reported By: be3ch at centrum dot cz -Status: Feedback +Status: Open Bug Type: Filesystem function related Operating System: Windows 2003 Server PHP Version: 5.2.11 Assigned To: pajoye New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [2009-11-13 12:02:05] paj...@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. ------------------------------------------------------------------------ [2009-11-13 11:41:32] be3ch at centrum dot cz Sorry, PHP 5.3.0 VC9 x86 Non Thread Safe - same problem. Non-TS version of PHP not working correctly when on webroot directory are only READ NTFS permissions. It's working only with READ+EXECUTE. ------------------------------------------------------------------------ [2009-11-13 11:00:44] paj...@php.net Simply try it with 5.3. impersonate and ACL has been improved/fixed there. ------------------------------------------------------------------------ [2009-11-13 10:57:37] be3ch at centrum dot cz I'm think it's not problem with ACL, because with PHP 5.2.11 ts-version it works correctly and if script will be changed to FULL path : <?php var_dump(file_exists('D:\wwwroot\testcom\www\test.php')); ?> it works with PHP 5.2.11 non-ts and only READ permissions correctly too. ------------------------------------------------------------------------ [2009-11-13 10:36:26] paj...@php.net 5.2 did not support ACL correctly, 5.3 does. ------------------------------------------------------------------------ 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