Bug #16042 Updated: mkdir no longer works correcrly (wrong UID)

From: Date: Wed, 13 Mar 2002 15:05:44 +0000
Subject: Bug #16042 Updated: mkdir no longer works correcrly (wrong UID)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2392@lists.php.net to get a copy of this message
ID: 16042 Updated by: jflemer@php.net Reported By: happycloud@undream.com -Status: Bogus +Status: Feedback Bug Type: *Directory/Filesystem functions Operating System: Linux PHP Version: 4.1.2 Assigned To: jflemer New Comment: Is it creating the first directory "testfolder", or does it fail on the first mkdir()? Previous Comments: ------------------------------------------------------------------------ [2002-03-13 10:02:07] mfischer@php.net Which working version were you using prior ? ------------------------------------------------------------------------ [2002-03-13 09:57:46] happycloud@undream.com This is NOT a support question! We have lost 37 websites in the last few days due to a BUG in the security update. Come on people! I provided a sample script not because I need help, but because I thought you did. We are hacking into the php core now to get it running again as we are a hosting service and ALL AND EVERY WEBSITE USING PHP's mkdir function do not work because of a problem (READ BUG) with the uid setup. ------------------------------------------------------------------------ [2002-03-13 09:49:59] sander@php.net The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php ------------------------------------------------------------------------ [2002-03-13 09:26:53] happycloud@undream.com ENV: Linux 2.2.19/apache 1.3.23/ Safe mode on, latest security update The following simple scripts no longer work: <? mkdir('/var/www/web/test/testfolder' , 0777); mkdir('/var/www/web/test/testfolder/another', 0777); ?> It generates: SAFE MODE Restriction in effect.  The script whose uid is 48561 is not allowed to  access /var/www/web/test/testfolder owned by uid 98 in .. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16042&edit=1

« previous php.bugs (#2392) next »