note 31511 added to function.opendir

From: Date: Thu, 24 Apr 2003 15:30:33 +0000
Subject: note 31511 added to function.opendir
Groups: php.notes 
Request: Send a blank email to php-notes+get-47032@lists.php.net to get a copy of this message
There are some bug when safe_mode is turned ON. I have a test folder with 777 permissions. in this folder run this script: umask(0); mkdir("tst", 0777); opendir("./tst"); after script was executed, i have the tst folder with permissions 777 and this warning: (Warning: SAFE MODE Restriction in effect. The script whose uid is 1476 is not allowed to access ./tst owned by uid 99 in /test/t.php on line 9) It's known bug? Have somebody any solution or comment? System: Red Hat Linux, Apache/1.3.27 (99/99), PHP: 4.2.3 in SAFE MODE, Server API: Apache. -- http://www.php.net/manual/en/function.opendir.php http://master.php.net/manage/user-notes.php?action=edit+31511 http://master.php.net/manage/user-notes.php?action=delete+31511 http://master.php.net/manage/user-notes.php?action=reject+31511

« previous php.notes (#47032) next »