From owner-freebsd-ports@FreeBSD.ORG Sun Apr 25 19:04:20 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 CA4F51065701 for ; Sun, 25 Apr 2010 19:04:20 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 4AF1D8FC15 for ; Sun, 25 Apr 2010 19:04:19 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so301345fgb.13 for ; Sun, 25 Apr 2010 12:04:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=yyjvlgv0cWwTf8E+seHGLNIV2mc3dZlSICCzSOhjHOE=; b=x5tCzRA2LGXv9AWD4aikvSXO1Inp3nSGMoIudLMQg/vUJGHe9Iv6ayzO0INtknUcsI Pp2dSDmW6FTXmhpz52ta34I8RjTUGRd8mTsBDDjkvSiQg1ZmXEybdlMmrDqNEu+gfity RUgF8fzGvGGiiI0FA0hU1phGYUY38oHRhtCwU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=FR2mQrpRNq+p52+LVG3tM9XZfctV3wyQ0x+iMI+7yOBQkYqt94AbxL7mZUts2i30PK 5QZ7iFkXS6jx8ITdp390gPuIAawX6t6dyD3j1hb99DjNXKaAfUx3piieVN7V+p2hiPdr d5QFx3UufHJikwQQWlz93F6jx6cO9TG+uAfwE= Received: by 10.239.182.82 with SMTP id p18mr268204hbg.31.1272222249609; Sun, 25 Apr 2010 12:04:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.193.77 with HTTP; Sun, 25 Apr 2010 12:03:49 -0700 (PDT) From: Eitan Adler Date: Sun, 25 Apr 2010 22:03:49 +0300 Message-ID: To: ports@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: 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: Sun, 25 Apr 2010 19:04:20 -0000 When I run portmaster with --check-depends or --check-port-dbdir as a non-root user portmaster will continue to attempt to write to the db dir. For example ===>>> Checking jpeg-8_1 ===>>> Updating +REQUIRED_BY install: /var/db/pkg/jpeg-8_1/+REQUIRED_BY: Permission denied portmaster should check before it goes through the whole process and see if it has write access to /var/db/ports.