From owner-freebsd-ports@FreeBSD.ORG Mon Apr 26 19:50:43 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90D0F1065675 for ; Mon, 26 Apr 2010 19:50:43 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id E806B8FC14 for ; Mon, 26 Apr 2010 19:50:42 +0000 (UTC) Received: (qmail 23079 invoked by uid 399); 26 Apr 2010 19:50:41 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 26 Apr 2010 19:50:41 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BD5EE8F.6080005@FreeBSD.org> Date: Mon, 26 Apr 2010 12:50:39 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Alberto Villa References: <4BD51CD5.9040304@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, Eitan Adler Subject: Re: feature request for portmaster: check for permissions on --check-depends and friends X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 19:50:43 -0000 On 04/26/10 01:13, Alberto Villa wrote: > On 4/26/10, Doug Barton wrote: >> This is the first time this issue has come up, what do others think? > > i don't mind very much, but imho... > >> OTOH, I could imagine users might want to do things like >> this that require root access to actually change things as a regular >> user first as a painless way to see what would happen if they ran the >> command as root. > > ...the "-n" flag would be more appropriate. It only applies to builds/upgrades. > what if i, as a regular > user, have write access to /var/db/(ports|pkg)? That would be silly. :) It would also solve the problem mentioned in the OP. Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/