From owner-freebsd-questions@FreeBSD.ORG Wed May 7 09:16:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 538631065670 for ; Wed, 7 May 2008 09:16:26 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id B86A88FC1F for ; Wed, 7 May 2008 09:16:25 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl64-185.kln.forthnet.gr [77.49.191.185]) (authenticated bits=128) by igloo.linux.gr (8.14.2/8.14.2/Debian-4) with ESMTP id m479GA25010652 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 7 May 2008 12:16:17 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m479G9A3069160; Wed, 7 May 2008 12:16:09 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m479G7mH069159; Wed, 7 May 2008 12:16:07 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: "Aryeh M. Friedman" References: <482144C8.1080406@gmail.com> Date: Wed, 07 May 2008 12:16:07 +0300 In-Reply-To: <482144C8.1080406@gmail.com> (Aryeh M. Friedman's message of "Wed, 07 May 2008 01:57:28 -0400") Message-ID: <87ej8efp9k.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m479GA25010652 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.403, required 5, ALL_TRUSTED -1.80, AWL -0.00, BAYES_00 -2.60, FB_WORD1_END_DOLLAR 1.00) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: does make buildworld/buildkernel require you to root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2008 09:16:26 -0000 On Wed, 07 May 2008 01:57:28 -0400, "Aryeh M. Friedman" wrote: > does make buildworld/buildkernel require you to root? I know installX > does but build? No, building everything does not require superuser rights. I usually build my src/ snapshots as 'build', at /home/build, by something similar to: # su - build build$ MAKEOBJDIRPREFIX=/home/build/obj ; export MAKEOBJDIRPREFIX build$ rm -fr obj/* build$ cd src build$ ( make buildworld && make buildkernel ) 2>&1 | tee ~/logfile There are a few places where the build path is recorded, i.e. in the output of uname # uname -v FreeBSD 8.0-CURRENT #0: Mon May 5 00:43:56 EEST 2008 build@kobe:/home/build/obj/home/build/src/sys/KOBE but other than this, there should be nothing that prevents you from building as any non-root user.