Re: chroot(): _not_ safe-mode restricted?
| From: | teo at gecadsoftware dot com | Date: | Mon, 20 Aug 2001 01:08:42 +0000 |
| Subject: | Re: chroot(): _not_ safe-mode restricted? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63788@lists.php.net to get a copy of this message | ||
Hi jeroen!
On Mon, 20 Aug 2001, jeroen@php.net wrote:
> As I read it in CVS, chroot() will work even in safe-mode. Isn't this a bad
> idea(tm), or am I wrong?
> If users can chroot in safe-mode, Apache won't serve any more pages after
> all children have been chrooted to an empty dir?
uhm, where have you read that? [ curious ]
nope, cause it will run as apache user, and you have to be root to chroot().
-- teodor