From owner-freebsd-current Thu Jun 25 16:31:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA22422 for freebsd-current-outgoing; Thu, 25 Jun 1998 16:31:06 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA22284 for ; Thu, 25 Jun 1998 16:30:15 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id JAA07633; Fri, 26 Jun 1998 09:39:09 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199806252339.JAA07633@cimlogic.com.au> Subject: Re: make buildworld needs root privs , why ? In-Reply-To: <199806251956.VAA14707@trantor.stuyts.nl> from Paul van der Zwan at "Jun 25, 98 09:56:47 pm" To: paulz@trantor.stuyts.nl (Paul van der Zwan) Date: Fri, 26 Jun 1998 09:39:09 +1000 (EST) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Paul van der Zwan wrote: > Is there a reason 'make buildworld' needs to be done as root ?? > If I run it as a normal user it fails pretty quickly when it installs > make : > > install -c -s -o bin -g bin -m 555 make /usr/obj/usr/source/src/tmp/usr/bin > install: /usr/obj/usr/source/src/tmp/usr/bin/make: chown/chgrp: Operation not permitted > *** Error code 71 > > Shouldn't it be possible to builworld as a non-priviliged user and only > make installworld as root ??? I don't think so. Buildworld needs to run in the same environment as the installed programs, otherwise there is the risk that the final installation will behave differently. I assume that anyone building -current is actually going to _run_ current, and since it requires root privileges to install, I don't think it is a big ask to expect root for the build too. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message