From owner-freebsd-hackers Mon Dec 28 14:37:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA03875 for freebsd-hackers-outgoing; Mon, 28 Dec 1998 14:37:14 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles205.castles.com [208.214.165.205]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA03869 for ; Mon, 28 Dec 1998 14:37:12 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id OAA13164; Mon, 28 Dec 1998 14:34:22 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812282234.OAA13164@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Paul Traina cc: hackers@FreeBSD.ORG Subject: Re: buildworld as someone other than root? In-reply-to: Your message of "Mon, 28 Dec 1998 14:30:02 PST." <199812282230.WAA11845@bplus.juniper.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 28 Dec 1998 14:34:21 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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