ID: 21532 Comment by: rohan at cs dot rmit dot edu dot au Reported By: czuma at poland dot org Status: Open Bug Type: *Directory/Filesystem functions Operating System: Solaris 8 PHP Version: 4.3.0 New Comment:
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 :( Previous Comments: ------------------------------------------------------------------------ [2003-01-11 04:30:14] czuma at poland dot org "Directory (...) 20021122 doesn't exist." ------------------------------------------------------------------------ [2003-01-10 16:58:37] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2003-01-08 18:16:50] 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. ------------------------------------------------------------------------ [2003-01-08 18:05:17] [EMAIL PROTECTED] But /www/user405/data/ does exist? I bet that directory is not accesible by the uid 405.. ------------------------------------------------------------------------ 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