#21958 [Fbk->Opn]: fopen fails in safe mode

From: Date: Thu, 20 Feb 2003 04:58:02 +0000
Subject: #21958 [Fbk->Opn]: fopen fails in safe mode
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-33628@lists.php.net to get a copy of this message
 ID:               21958
 User updated by:  ct at swin dot edu dot au
 Reported By:      ct at swin dot edu dot au
-Status:           Feedback
+Status:           Open
 Bug Type:         Filesystem function related
 Operating System: Tru64 UNIX 5.1A
 PHP Version:      4.3.1-dev
 New Comment:

Apache module


Previous Comments:
------------------------------------------------------------------------

[2003-02-19 21:41:30] sniper@php.net

I can not reproduce this with latest CVS snapshot.
What SAPI are you using? CGI..? Apache module?


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

[2003-02-19 19:03:33] ct at swin dot edu dot au

# ls -ld /web /web/ct
drwxr-xr-x 110 root     system      8192 Nov 28 15:41 /web
drwxr-xr-x   7 ct       system      8192 Jan 31 15:22 /web/ct

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

[2003-02-19 18:57:04] sniper@php.net

What are the permissions for /web and /web/ct directories?


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

[2003-01-30 18:49:02] ct at swin dot edu dot au

With php4-STABLE-latest (200301302230) it returns the following error:

Warning: fopen() [function.fopen]: Unable to access
/web/ct/tmp/file.txt in /web/ct/test4.php on line 4

Warning: fopen(/web/ct/tmp/file.txt) [function.fopen]: failed to create
stream: No such file or directory in /web/ct/test4.php on line 4

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

[2003-01-30 09:17:22] iliaa@php.net

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



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

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



Thread (26 messages)

« previous php.bugs (#33628) next »