Date: Mon, 9 Dec 2002 09:31:50 -0800 From: "Sameer R. Manek" <manek@ecst.csuchico.edu> To: "Kenneth W Cochran" <kwc@TheWorld.com>, <freebsd-stable@FreeBSD.ORG>, <jdp@polstra.com> Subject: RE: Non-root updating & building Message-ID: <LMEMIKHGPPEEMMMMGIENCEENFBAA.manek@ecst.csuchico.edu> In-Reply-To: <200212091509.KAA56021362@shell.TheWorld.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LMEMIKHGPPEEMMMMGIENCEENFBAA.manek>