From owner-freebsd-ports@FreeBSD.ORG Mon Apr 26 08:13:03 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 F03EF1065745; Mon, 26 Apr 2010 08:13:03 +0000 (UTC) (envelope-from villa.alberto@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 4D45C8FC1A; Mon, 26 Apr 2010 08:13:02 +0000 (UTC) Received: by mail-bw0-f216.google.com with SMTP id 8so10850302bwz.3 for ; Mon, 26 Apr 2010 01:13:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=jSTgIglClt5lElf/FspAREoCh9p8ptCeuifQ0jkbAtw=; b=RzOJUM1FsfNoMEYdKUze3an5nX7sNyYLY62YiNGm7SygGHmcq0m3huqiF/I8v+9+SZ RaQe2d6dWFiCSo172QXq3BsrXej7n9l2GG0ASJk7Ih0kUA3PNhndFhbdYFcWgHmHS3Uz RC30BTfwn1qEVzk2vI4cWNndKmooQNUWg84gw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=d7H/3YhHRjGNW8JQ2d0cyr/S4Fq/atW3elSRv5GWsfbtVf608eLPTNUjjH7NiSTQq+ sm0/PThyQzizipdO96R/muR0kzzIi/lrh2S2lVVDGJrAaGM48xwnMyXlKDDZvmlfpgcS SoaMfAu85i4l0ILpI4JSjduQtWjA5DHU+56q8= MIME-Version: 1.0 Received: by 10.204.142.81 with SMTP id p17mr2347481bku.58.1272269582680; Mon, 26 Apr 2010 01:13:02 -0700 (PDT) Sender: villa.alberto@gmail.com Received: by 10.204.69.18 with HTTP; Mon, 26 Apr 2010 01:13:02 -0700 (PDT) In-Reply-To: <4BD51CD5.9040304@FreeBSD.org> References: <4BD51CD5.9040304@FreeBSD.org> Date: Mon, 26 Apr 2010 10:13:02 +0200 X-Google-Sender-Auth: 5c1f41de41f5b8fd Message-ID: From: Alberto Villa To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 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 08:13:04 -0000 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. what if i, as a regular user, have write access to /var/db/(ports|pkg)? that wouldn't be "painless" :) -- Alberto Villa, FreeBSD committer http://people.FreeBSD.org/~avilla