Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2002 10:09:00 -0500 (EST)
From:      Kenneth W Cochran <kwc@TheWorld.com>
To:        freebsd-stable@freebsd.org
Subject:   Non-root updating & building
Message-ID:  <200212091509.KAA56021362@shell.TheWorld.com>

next in thread | raw e-mail | index | archive | help
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




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