Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 1998 14:34:21 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Paul Traina <pst@juniper.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: buildworld as someone other than root? 
Message-ID:  <199812282234.OAA13164@dingo.cdrom.com>
In-Reply-To: Your message of "Mon, 28 Dec 1998 14:30:02 PST." <199812282230.WAA11845@bplus.juniper.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Before I go beating my brains around an impossibility, has anyone ever played
> with making at least the initial part of 'buildworld' buildable as someone
> other than root?
> 
> Why do I ask?  Well, we're playing around with multiple trees for projects,
> and need a "self-contained" mini freebsd environment.  This usually means
> a directory structure populated with a reasonable subset of .h files and
> libraries.
> 
> Currently, we build just such a thing, but we've got to do it as root because
> install and mtree want to change ownerships.
> 
> I was randomly thinking of adding code to install and mtree to allow them
> to quietly ignore failures for chown/chgrp's... but this is rather evil.
> 
> Does anyone have better ideas?

Do it chrooted with funny group/password files where everyone has the 
same UID/GID?

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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