ID: 27498 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Unknown/Other Function Operating System: debian PHP Version: 4.3.4 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2004-03-16 14:19:11] [EMAIL PROTECTED] This is a bug! Why shouldn't it be one? [EMAIL PROTECTED]:/home/seric$ php -d'safe_mode=on' -r 'opendir("/home/seric/bar");' Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 1000 is not allowed to access /home/seric owned by uid 0 in Command line code on line 1 Warning: opendir(/home/seric/bar): failed to open dir: No such file or directory in Command line code on line 1 [EMAIL PROTECTED]:/home/seric$ php -v PHP 4.3.4 (cli) (built: Dec 14 2003 17:50:17) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies ------------------------------------------------------------------------ [2004-03-06 13:34:26] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Not a bug. ------------------------------------------------------------------------ [2004-03-05 13:56:26] troels at kyberfabrikken dot dk why is this not a bug ? i get the message that my script is not allowed to access /home/virtual/site1/fst/var/www/html/data/ but that is false - it DOES in fact have thoose rights. ------------------------------------------------------------------------ [2004-03-05 13:44:54] [EMAIL PROTECTED] This is definitely a bug. [EMAIL PROTECTED]:~$ php -d'safe_mode=on' -r 'opendir("/home/et/nonexistant");' Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 500 is not allowed to access /home/et owned by uid 0 in Command line code on line 1 Warning: opendir(/home/et/nonexistant): failed to open dir: No such file or directory in Command line code on line 1 [EMAIL PROTECTED]:~$ ls -dla /home/et drwxr-xr-x 61 et et 4096 Mar 5 19:41 /home/et ------------------------------------------------------------------------ [2004-03-05 13:36:17] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . ------------------------------------------------------------------------ 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/27498 -- Edit this bug report at http://bugs.php.net/?id=27498&edit=1