Req #21532 [Opn->Csd]: incorrect warning

From: Date: Fri, 20 Feb 2015 15:12:15 +0000
Subject: Req #21532 [Opn->Csd]: incorrect warning
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190848@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=21532&edit=1

 ID:                 21532
 Updated by:         krakjoe@php.net
 Reported by:        czuma at poland dot org
 Summary:            incorrect warning
-Status:             Open
+Status:             Closed
 Type:               Feature/Change Request
 Package:            Safe Mode/open_basedir
 Operating System:   Solaris 8
 PHP Version:        4.3.3
-Assigned To:        
+Assigned To:        krakjoe
 Block user comment: N
 Private report:     N

 New Comment:

Since safe mode has been removed in modern version of PHP, we can put this to bed.

Sorry about the wait :)


Previous Comments:
------------------------------------------------------------------------
[2003-11-01 14:17:45] czuma at poland dot org

I have tried php4-STABLE-200311011630.

Still I see the same error.

------------------------------------------------------------------------
[2003-10-30 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over 2 weeks, 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".

------------------------------------------------------------------------
[2003-03-01 12:07:47] czuma at poland dot org

I have checked php4-STABLE-200303011230

Unfortunately it doesn't work. I still see incorrect warning:

"SAFE MODE Restriction in effect. The script whose uid is XXX is not allowed to access
/www/user/data owned by uid 0 in /www/user/stale/table1a.php on line 3"

"Line 3": 
$my=opendir("/www/user/data/$dat");

Probably: $dat=blabla/bleble.txt

Directory "blabla" doesn't exist. I see correct and then incorrect warning.

------------------------------------------------------------------------
[2003-01-08 17:18:04] czuma at poland dot org

PHP log:

-------------------------------------------------------
[08-Jan-2003 23:54:22] PHP Warning:  
opendir(): SAFE MODE Restriction in effect.  
The script whose uid is 405 is not allowed to access 
/www/user405/data/20021122 owned by uid 0 
in /www/user405/stale/table1a_stale_bpl.php on line 3

[08-Jan-2003 23:54:22] PHP Warning: 
opendir(/www/user405/data/20021122/bpl): 
failed to open dir: 
No such file or directory in 
/www/user405/stale/table1a_stale_bpl.php on line 3
-------------------------------------------------------

First warning is incorrect. Directory /www/user405/data/20021122 doesn't exist.

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



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


Thread (21 messages)

« previous php.bugs (#190848) next »