ID: 21532 Updated by: [EMAIL PROTECTED] Reported By: czuma at poland dot org -Status: Open +Status: Assigned Bug Type: *Directory/Filesystem functions Operating System: Solaris 8 PHP Version: 4.3.1 -Assigned To: +Assigned To: wez
Previous Comments: ------------------------------------------------------------------------ [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] [EMAIL PROTECTED] 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 :( ------------------------------------------------------------------------ [2003-01-11 04:30:14] czuma at poland dot org "Directory (...) 20021122 doesn't exist." ------------------------------------------------------------------------ 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