note 22994 added to function.mkdir

From: Date: Sat, 06 Jul 2002 06:53:49 +0000
Subject: note 22994 added to function.mkdir
Groups: php.notes 
Request: Send a blank email to php-notes+get-32668@lists.php.net to get a copy of this message
I have noticed that on some servers with apache and php with safe mode enabled, you are able to create dir but not move a file or create a file in it. When the dir is created it is created with UID Apache and script UID can not write to dir under safe mode. Warning: SAFE MODE Restriction in effect. The script whose uid is 516 is not allowed to access /home/farinspace/ebay/kiitay/ah/uploads/test4_1025938378 owned by uid 48 in /home/farinspace/ebay/kiitay/ah/output.php on line 125 -- http://www.php.net/manual/en/function.mkdir.php http://master.php.net/manage/user-notes.php?action=edit+22994 http://master.php.net/manage/user-notes.php?action=delete+22994 http://master.php.net/manage/user-notes.php?action=reject+22994

« previous php.notes (#32668) next »