#35264 [Opn->Fbk]: safe-mode errors with multiple include virtual requests
| From: | iliaa@php.net | Date: | Thu, 17 Nov 2005 21:26:12 +0000 |
| Subject: | #35264 [Opn->Fbk]: safe-mode errors with multiple include virtual requests | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88438@lists.php.net to get a copy of this message | ||
ID: 35264
Updated by: iliaa@php.net
Reported By: maddog2k at maddog2k dot net
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: Linux
PHP Version: 5CVS, 4CVS (2005-11-17) (snap)
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Apache 2 patch was just applied and there is a good chance it will fix
the problem.
Previous Comments:
------------------------------------------------------------------------
[2005-11-17 17:07:16] maddog2k at maddog2k dot net
No, by the uid 1027.
All files & directories requested are owned by user 1027, not 3185.
3185 came falling out of the sky...
When I modify the file a bit, 3185 suddenly becomes for example UID
1307.
Apparantly it goes wrong somewhere with UID-checking, I guess it's
taking UID from a different process or so instead of the executing
process.
Like I said, it works when swapping the two <!--#include lines...
4.4.0 and below do not show this behaviour..
------------------------------------------------------------------------
[2005-11-17 16:56:49] iliaa@php.net
Is the HTML file owned by user with a UID of 3185?
------------------------------------------------------------------------
[2005-11-17 16:30:57] maddog2k at maddog2k dot net
Like I said :) the script DOES work when FIRST including the .php and
THEN the .html. All UID's are correct, cause otherwise the above
wouldn't work either.
For some reason there seems to be a UID mix-up when calling the .html
first to be included...
------------------------------------------------------------------------
[2005-11-17 16:15:15] sniper@php.net
There really is no bug here. If it didn't complain before, THAT was the
bug.
------------------------------------------------------------------------
[2005-11-17 16:14:36] sniper@php.net
Then turn off the safe-mode? Or make sure the script is owned by
correct user id.
------------------------------------------------------------------------
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/35264
--
Edit this bug report at http://bugs.php.net/?id=35264&edit=1