ID: 21958
Comment by: ohp at pyrenet dot fr
Reported By: ct at swin dot edu dot au
Status: Verified
Bug Type: Filesystem function related
Operating System: Tru64 UNIX 5.1A
PHP Version: 4.3.2-dev 5.0.0-dev
New Comment:
I have the same problem on 4.2.3 and 4.3.1.
I noticed that making touch before fopen("xxx","w") creates the file so
fopen succeeds.
Previous Comments:
------------------------------------------------------------------------
[2003-02-26 20:44:34] [EMAIL PROTECTED]
Using Tru64 UNIX 5.1.
Both 4.3.2-dev and 5.0.0-dev.
Tested with safe_mode on and trying to create a file in /tmp
------------------------------------------------------------------------
[2003-02-26 01:06:15] ct at swin dot edu dot au
I have noticed that in safe_mode.c after the line that has
VCWD_REALPATH(filename, path); (Line 84 from CVS version) the value of
path is always NULL in Tru64 UNIX.
The same code testing on Linux using CLI SAPI, path = correct value.
------------------------------------------------------------------------
[2003-02-23 23:43:32] ct at swin dot edu dot au
The build from php4-STABLE-200302231230 still produces the same error.
------------------------------------------------------------------------
[2003-02-23 05:22:27] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
There have been couple of fixes lately which might fix this as
side-effect, please give it a go.
------------------------------------------------------------------------
[2003-02-20 00:07:32] ct at swin dot edu dot au
I have noticied that if I replace the safe_mode.c file with the one
from PHP 4.1.2 it works properly.
------------------------------------------------------------------------
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/21958
--
Edit this bug report at http://bugs.php.net/?id=21958&edit=1