*BSD News Article 77334


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!iafrica.com!uct.ac.za!quagga.ru.ac.za!howland.erols.net!newsfeed.internetmci.com!in3.uu.net!news.BSDI.COM!engr.orst.edu!newsfeed.orst.edu!news.uidaho.edu!usenet
From: "Faried Nawaz" <fn@uidaho.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Obtaining and building a kernel as non-root
Date: 02 Sep 1996 01:27:24 -0700
Organization: dis.
Lines: 24
Sender: nawaz921@snake.cs.uidaho.edu
Distribution: world
Message-ID: <imn2z9midv.fsf@snake.cs.uidaho.edu>
References: <slrn52k7k1.p0q.jerijian@lightning.seas.ucla.edu>
NNTP-Posting-Host: snake.cs.uidaho.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
In-reply-to: jerijian@lightning.seas.ucla.edu's message of 1 Sep 1996 23:38:41
	GMT
X-Newsreader: Gnus v5.1

In article <slrn52k7k1.p0q.jerijian@lightning.seas.ucla.edu> jerijian@lightning.seas.ucla.edu (Arthur D. Jerijian) writes:
   
   I've previously mentioned that I come from a Linux background, so I'm
   used to taking a Linux kernel source tree (say, linux-2.0.16.tar.gz),
   untarring it into my account as a non-root user, and proceeding to
   build it normally.  Can something like this be done with the FreeBSD
   2.1.5 kernel, or does the kernel need to be built as root specifically
   in the /usr/src/sys directory?  I prefer to build it as a normal user
   because that's how I build all my packages (before su'ing over to root
   to do a 'make install').

You can 

cp -pr /sys ~/

and then build it from there.


On my home machine, I am in the 'wheel' group; i do 

chmod -R g+w /usr/src/sys
chgrp -R wheel /usr/src/sys

and then build from /sys.