Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 1998 09:39:09 +1000 (EST)
From:      John Birrell  <jb@cimlogic.com.au>
To:        paulz@trantor.stuyts.nl (Paul van der Zwan)
Cc:        current@FreeBSD.ORG
Subject:   Re: make buildworld needs root privs , why ?
Message-ID:  <199806252339.JAA07633@cimlogic.com.au>
In-Reply-To: <199806251956.VAA14707@trantor.stuyts.nl> from Paul van der Zwan at "Jun 25, 98 09:56:47 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806252339.JAA07633>