Edit report at http://bugs.php.net/bug.php?id=50163&edit=1

 ID:                 50163
 Updated by:         cataphr...@php.net
 Reported by:        be3ch at centrum dot cz
 Summary:            IUSR_ NTFS permissions issue on PHP 5.2.11-nts
 Status:             Feedback
 Type:               Bug
 Package:            Filesystem function related
 Operating System:   win32 only - Windows 2003 Server
 PHP Version:        5.2.11
 Assigned To:        pajoye
 Block user comment: N

 New Comment:

Closed bug #53011 as a duplicate as this one.



Pierre: he's using PHP 5.3.3.


Previous Comments:
------------------------------------------------------------------------
[2010-10-07 16:00:20] paj...@php.net

Please try using 5.3.3.

------------------------------------------------------------------------
[2010-10-07 15:40:14] saurabh0 at gmail dot com

I am facing the same problem. Running PHP Version 5.3.3 (FastCgi,
non-thread safe) on IIS6/Windows Server 2003.



All file functions give error when relative paths are used and with
*only* Read permissions on the folder. e.g.



file_get_contents('./path/file.txt');



The above gives:

Warning: file_get_contents(./path/file.txt): failed to open stream: No
such file or directory



If you give the full path its works fine. i.e. the follow works:



file_get_contents('C:/full/path/file.txt');



If you add "List Folder Contents" permission to the folder it starts to
work with relative folders as well.



I am guessing the when relative paths are used php tries to get some
information about the current folder which fails as the "List Folder
Contents" is not given.



Note: I had php (5.2) running as ISAPI before and didn't have this
problem. So it seems to be specific to non-thread safe version.

------------------------------------------------------------------------
[2010-02-02 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2010-01-25 08:50:32] paj...@php.net

That would help yes, please drop me a mail with the access data :)

------------------------------------------------------------------------
[2009-12-07 13:41:22] be3ch at centrum dot cz

Any progress? I can give you access to my VPS server, where you can see
it. :)

------------------------------------------------------------------------


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/bug.php?id=50163


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=50163&edit=1

Reply via email to