#21532 [Fbk->Opn]: incorrect warning
| From: | czuma at poland dot org | Date: | Sat, 22 Mar 2003 20:20:36 +0000 |
| Subject: | #21532 [Fbk->Opn]: incorrect warning | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36189@lists.php.net to get a copy of this message | ||
ID: 21532
User updated by: czuma at poland dot org
Reported By: czuma at poland dot org
-Status: Feedback
+Status: Open
Bug Type: *Directory/Filesystem functions
Operating System: Solaris 8
PHP Version: 4.3.1
Assigned To: wez
New Comment:
I have checked php4-STABLE-200303221630 (PHP/4.3.2-RC)
Unfortunately, it doesn't work. I still see incorrect warning.
Previous Comments:
------------------------------------------------------------------------
[2003-03-18 11:47:31] wez@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
------------------------------------------------------------------------
[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-02-25 03:58:26] wez@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
------------------------------------------------------------------------
[2003-02-25 01:42:35] rohan at cs dot rmit dot edu dot au
Opps, lost part of the error... it is:
Warning: filemtime() [function.filemtime]: SAFE MODE Restriction in
effect. The script whose uid/gid is 1/31748 is not allowed to access
/home/m/malsmith/.HTMLinfo/lastmodified owned by uid/gid 31748/103 in
/home/m/malsmith/.HTMLinfo/software.php on line 3
------------------------------------------------------------------------
[2003-02-25 01:41:23] rohan at cs dot rmit dot edu dot au
Solaris 2.8, using Forte CC version 7 to compile
php 4.3.1 and apache 1.3.27
Not sure if this is the same problem, but similar. When safe_mode is
enabled, when trying to use a file function, using the full pathname,
an error such as:
-----
Warning: filemtime() [function.filemtime]: SAFE MODE Restriction in
effect. The " is not allowed to access
/home/m/malsmith/.HTMLinfo/lastmodified owned by uid/gid 31748/103 in
/home/m/malsmith/.HTMLinfo/software.php on line 3
------
have sage_mode_gid enabled to allow group work, but this still breaks.
The above file is uid/gid 31748/103, and
the web server is running as 'nobody' uid/gid 60001/60001
Don't know what the "script whose uid/gid is 1/31748"
means, or what went wrong here, but in the end, I can't
also use the 'include' on other similar files.
the files are all uid/gid the same....
for the moment I have to turn off safe mode :(
------------------------------------------------------------------------
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/21532
--
Edit this bug report at http://bugs.php.net/?id=21532&edit=1