From owner-freebsd-ports@FreeBSD.ORG Wed Apr 6 13:12:19 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17E7B16A4CE for ; Wed, 6 Apr 2005 13:12:19 +0000 (GMT) Received: from mailhub01.unibe.ch (mailhub01.unibe.ch [130.92.9.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id B347C43D1F for ; Wed, 6 Apr 2005 13:12:18 +0000 (GMT) (envelope-from roth@droopy.unibe.ch) Received: from localhost (scanhub01.unibe.ch [130.92.254.65]) by mailhub01.unibe.ch (Postfix) with ESMTP id 89F8525BB15; Wed, 6 Apr 2005 15:12:17 +0200 (MEST) Received: from mailhub01.unibe.ch ([130.92.9.52]) by localhost (scanhub01 [130.92.254.65]) (amavisd-new, port 10024) with LMTP id 21095-13-3; Wed, 6 Apr 2005 15:12:20 +0200 (CEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub01.unibe.ch (Postfix) with ESMTP id A42CB25BB1B; Wed, 6 Apr 2005 15:12:16 +0200 (MEST) Received: from droopy.unibe.ch (droopy [130.92.64.20]) by asterix.unibe.ch (8.11.7p1+Sun/8.11.7) with ESMTP id j36DCFW00213; Wed, 6 Apr 2005 15:12:15 +0200 (MET DST) Received: (from roth@localhost) by droopy.unibe.ch (8.12.10+Sun/8.12.9/Submit) id j36DCF22005560; Wed, 6 Apr 2005 15:12:15 +0200 (MEST) Date: Wed, 6 Apr 2005 15:12:15 +0200 From: Tobias Roth To: Joel Message-ID: <20050406131214.GA5511@droopy.unibe.ch> References: <20050406190138.C9C1.REES@ddcom.co.jp> <20050406102339.GA2506@droopy.unibe.ch> <20050406200627.C9C7.REES@ddcom.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050406200627.C9C7.REES@ddcom.co.jp> User-Agent: Mutt/1.4i X-message-flag: Warning! Using Outlook is insecure and promotes virus distribution. Please use a different email client. X-Virus-checked: by University of Berne cc: freebsd-ports@freebsd.org Subject: Re: chmod -R g+w /usr/ports? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2005 13:12:19 -0000 On Wed, Apr 06, 2005 at 08:06:46PM +0900, Joel wrote: > > > What am I missing, besides the obvious -- make install won't fly without > > > su or sudo? > > > > you're missing WRKDIRPREFIX > > Thanks, t. > > Does that mean that if the port honors WRKDIRPREFIX, I can even > make install without switching to root? No? No (as someone else already pointed out). > Actually, what I'm trying to ask about is the advisability of opening > the ports tree to writes from the group, if I make sure the only member > of wheel is the admin user I use for installs. (I hardly make sense to > myself sometimes.) There is no need to do that if you set WRKDIRPREFIX and DISTDIR. The former can be cleaned out before a make, so write permissions for non-wheel users are no problem. And since distfiles have their hash values checked before extraction, having user write permissions for the latter also is no problem.