From owner-freebsd-questions Fri Sep 13 16: 7:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEE7237B401 for ; Fri, 13 Sep 2002 16:07:53 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8081243E72 for ; Fri, 13 Sep 2002 16:07:53 -0700 (PDT) (envelope-from jud@myrealbox.com) Received: from dialup-63.214.208.69.dial1.philadelphia1.level3.net ([63.214.208.69] helo=sparky) by avocet.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 17pzXO-0005oP-00; Fri, 13 Sep 2002 16:07:47 -0700 From: Jud To: questions@freebsd.org, swear@attbi.com (Gary W. Swearingen) Date: Fri, 13 Sep 2002 19:08:18 -0400 X-Priority: 3 (Normal) Message-Id: Subject: Re: docs on building & installing ports as non-root MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Mailer: Opera 6.05 build 1140 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 9/13/2002 3:00:59 AM, swear@attbi.com (Gary W. Swearingen) wrote: >I've spent several hours trying to find some article I thought I saw >about a month which explained how to build and install from ports >without having to run as root in order to have write-access to the >/usr/ports and /usr/local trees. Anybody remember seeing such a >document lately, or one like it? The handbook says: "You must be the >root user to install ports." The ports are nice, but I miss the >build-from-tarball days when you could install apps as a normal user. > >(I know I should be able to figure something out from info in >/usr/ports/Mk/bsd.port.mk, but there seems to be too many unknowns.) >I don't know how you'd make changes to /var/db/pkg without being >root, but maybe it's OK to have other databases owned by other >users. I'd be willing to drop protections on /var/db/pkg to be >able to run all those scary build & install scripts as non-root.) > >Thanks. Would op or sudo work for you? (I think I recall seeing an article about sudo in one of the *BSD e-zines.) Jud To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message