From owner-freebsd-stable Mon Dec 9 7: 9: 6 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D30237B401 for ; Mon, 9 Dec 2002 07:09:04 -0800 (PST) Received: from TheWorld.com (pcls1.std.com [199.172.62.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B61943F26 for ; Mon, 9 Dec 2002 07:09:03 -0800 (PST) (envelope-from kwc@shell.TheWorld.com) Received: from shell.TheWorld.com (root@shell01.TheWorld.com [199.172.62.241]) by TheWorld.com (8.9.3/8.9.3) with ESMTP id KAA32414; Mon, 9 Dec 2002 10:09:01 -0500 Received: (from kwc@localhost) by shell.TheWorld.com (8.9.3/8.9.3) id KAA56021362; Mon, 9 Dec 2002 10:09:00 -0500 (EST) Date: Mon, 9 Dec 2002 10:09:00 -0500 (EST) From: Kenneth W Cochran Message-Id: <200212091509.KAA56021362@shell.TheWorld.com> To: freebsd-stable@freebsd.org Subject: Non-root updating & building Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello -stable: What would be a/the Right Way(tm:) to separate the privelege of updating/building vs installing world and/or ports? I've tracked -stable and -ports for a coupla-few years now and have long noticed that updating (cvsup/cvs), building (make) and installing (make install) require being superuser to run (same with ports). So far, the "method" I can think of for this would be to change either the owner or the filemode for /usr/src/* and/or /usr/ports/*, update/build as non-root & install as root. (Owner would be simpler I think, but I'm wondering about things like being at odds with the likes of mtree and friends.) Am I on the right track? Is there any OS support for this, for example, any knobs in, say, make.conf to enable/configure/control this? So far I haven't found any FreeBSD-specific information about this. RTFM pointers welcome. :) Thanks, -kc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message