note 56444 added to features.safe-mode

From: Date: Fri, 02 Sep 2005 18:38:07 +0000
Subject: note 56444 added to features.safe-mode
Groups: php.notes 
Request: Send a blank email to php-notes+get-94668@lists.php.net to get a copy of this message
safe mode supposed to fix security issue when running php as single user nobody (apache module php) - so dont compare it to perl which can be run with suexec about that setuid bit thing it didnt work for me. I know its been discussed but...lets say safe_mode is on. PHP is running as apache module on user nobody. now php scripts create directory or file which will be owned by nobody:nobody. And because safe_mode is running php now will not be able to access that file or directory... so am I only person that see safe_mode is usless without feature that will force creation of files and dirs with uid script owner? Safe_mode suppossed to fix issues when running as apache module - single user. But It fix nothing. that patch at http://titov.net/safemodepatch/ could be good, but I already went to php5. Someone should do it for php5... ---- Manual Page -- http://www.php.net/manual/en/features.safe-mode.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+56444 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56444&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56444&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56444&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56444&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56444&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56444&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+56444&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#94668) next »