Date: Mon, 9 Dec 2002 22:25:46 +0300 (MSK) From: Dmitry Morozovsky <marck@rinet.ru> To: Tod McQuillin <devin@spamcop.net> Cc: Kenneth W Cochran <kwc@TheWorld.com>, "" <freebsd-stable@FreeBSD.ORG> Subject: Re: Non-root updating & building Message-ID: <20021209222220.C96311-100000@woozle.rinet.ru> In-Reply-To: <20021210003716.V42280-100000@glass.pun-pun.prv> References: <200212091509.KAA56021362@shell.TheWorld.com> <20021210003716.V42280-100000@glass.pun-pun.prv>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 10 Dec 2002, Tod McQuillin wrote: TM> I have never tried it, but if you use the portupgrade utilities, there is TM> a --sudo command option which seems to imply that it runs as non-root TM> where it can and uses sudo where it needs privileges. TM> TM> I would be interested to know if this actually works. TM> TM> For build/install world, it should work to make sure your /usr/src is TM> readable and your /usr/obj writable by a non-root user. Of course you TM> will need to be root to install to system directories. TM> TM> Disclaimer: I have not tried either of these ideas. Give it a try and see TM> what happens. I do both of these methods at a regular basis, my /usr/src, /usr/ports and /usr/obj hierarchies are owned by either me or special non-privileged user, and `portupgrade -s' does exactly the Right Way [tm] ;-) BTW, there's excellent /usr/ports/Tools/scripts/distclean.sh script. Thanks, Maxim! I wish there will be similar script to clean /usr/ports/packages hierarchy, though... Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ 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?20021209222220.C96311-100000>