#21532 [Opn->Fbk]: incorrect warning
| From: | wez@php.net | Date: | Tue, 25 Feb 2003 09:58:27 +0000 |
| Subject: | #21532 [Opn->Fbk]: incorrect warning | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34201@lists.php.net to get a copy of this message | ||
ID: 21532
Updated by: wez@php.net
Reported By: czuma at poland dot org
-Status: Open
+Status: Feedback
Bug Type: *Directory/Filesystem functions
Operating System: Solaris 8
PHP Version: 4.3.0
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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 :(
------------------------------------------------------------------------
[2003-01-11 04:30:14] czuma at poland dot org
"Directory (...) 20021122 doesn't exist."
------------------------------------------------------------------------
[2003-01-10 16:58:37] iliaa@php.net
Is the '20021122' directory owned by user with uid of 405?
------------------------------------------------------------------------
[2003-01-08 18:22:19] czuma at poland dot org
/www/user405/data and /www/user405 exist.
Both directories are owned by uid 405 with r-x permission for owner.
------------------------------------------------------------------------
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