From owner-freebsd-stable Mon Dec 9 9:31:55 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 A685737B401 for ; Mon, 9 Dec 2002 09:31:53 -0800 (PST) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4511943F35 for ; Mon, 9 Dec 2002 09:31:53 -0800 (PST) (envelope-from manek@ecst.csuchico.edu) Received: from user-2ivfm5t.dialup.mindspring.com ([165.247.216.189] helo=rover) by flamingo.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 18LRl0-0003Pe-00; Mon, 09 Dec 2002 09:31:51 -0800 From: "Sameer R. Manek" To: "Kenneth W Cochran" , , Subject: RE: Non-root updating & building Date: Mon, 9 Dec 2002 09:31:50 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <200212091509.KAA56021362@shell.TheWorld.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal 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 In addition to what the other 2 posters said, in order to update, the non-root user has to be able to write to /var/sup. Don't know why this has to be the case, perhaps John can answer why, or perhaps change that in future versions. > -----Original Message----- > From: owner-freebsd-stable@FreeBSD.ORG > [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Kenneth W Cochran > Sent: Monday, December 09, 2002 7:09 AM > To: freebsd-stable@FreeBSD.ORG > Subject: Non-root updating & building > > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message