From owner-freebsd-ports@FreeBSD.ORG Tue Oct 20 17:49:09 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2AB41065672 for ; Tue, 20 Oct 2009 17:49:09 +0000 (UTC) (envelope-from prvs=5370a0f69=pschmehl_lists@tx.rr.com) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id 73FE28FC0C for ; Tue, 20 Oct 2009 17:49:09 +0000 (UTC) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.44,592,1249275600"; d="scan'208";a="18804517" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 20 Oct 2009 12:49:08 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 799904E75A for ; Tue, 20 Oct 2009 12:49:08 -0500 (CDT) Date: Tue, 20 Oct 2009 17:49:08 +0000 From: Paul Schmehl To: FreeBSD Ports Message-ID: <7BED0FA91AE01DCE6824F339@utd65257.utdallas.edu> In-Reply-To: <7D877649A63342CB6EBBF48E@utd65257.utdallas.edu> References: <7D877649A63342CB6EBBF48E@utd65257.utdallas.edu> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: install-sh - permission denied X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2009 17:49:09 -0000 --On Tuesday, October 20, 2009 11:49:49 -0500 Paul Schmehl wrote: > > I'm working on a new port, and I'm getting this error during make install: > > test -z "/usr/local/bin" || .././install-sh -c -d "/usr/local/bin" > .././install-sh: Permission denied > > Can anyone tell me why I'm getting this? > > My system is 7.2 STABLE > 7.2-STABLE FreeBSD 7.2-STABLE #13: Thu Sep 24 09:02:53 CDT 2009 > > Ports are csuped daily. > As a followup - I doing all of this after suing to root, so it's hard to understand why permissions would be a problem. This is only happening in this new port I'm trying to develop, which seems even stranger, because this is an exact copy of an existing port that I maintain (which builds fine - I checked just a few minutes ago), which some editing done to the Makefile to download and build a new version of the same software. There's no NFS mounts involved. All partitions are mounted normally. # mount /dev/ad8s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad8s1f on /tmp (ufs, local, soft-updates) /dev/ad8s1d on /usr (ufs, local, soft-updates) /dev/ad8s1e on /var (ufs, local, soft-updates) /dev/ad10s1d on /data (ufs, local, soft-updates) Perms on /usr/local are "standard". # ls -lsa /usr/local/ total 196 2 drwxr-xr-x 22 root wheel 512 Sep 19 12:11 . 2 drwxr-xr-x 19 root wheel 512 Feb 20 2008 .. 38 drwxr-xr-x 6 root wheel 38912 Oct 20 12:43 bin 2 drwxr-xr-x 3 root wheel 512 Feb 22 2008 com 2 drwxr-xr-x 9 root wheel 512 Sep 18 22:20 diablo-jdk1.6.0 2 drwxr-xr-x 7 root wheel 512 Sep 18 22:15 diablo-jre1.6.0 2 drwxr-xr-x 2 root wheel 512 Feb 21 2008 env 4 drwxr-xr-x 40 root wheel 2560 Oct 20 12:43 etc 34 drwxr-xr-x 210 root wheel 34816 Oct 9 13:05 include 4 drwxr-xr-x 3 root wheel 2560 Sep 24 16:07 info 78 drwxr-xr-x 83 root wheel 78848 Oct 9 13:05 lib 2 drwxr-xr-x 8 root wheel 512 Jul 11 14:37 libdata 2 drwxr-xr-x 10 root wheel 2048 Sep 24 16:07 libexec 2 drwxr-xr-x 33 root wheel 1024 Oct 10 09:42 man 2 drwxr-xr-x 11 root wheel 512 Jun 16 16:39 nessus 2 drwxr-xr-x 2 pgsql pgsql 512 Apr 11 2009 pgsql 4 drwxr-xr-x 2 root wheel 3072 Sep 24 15:09 sbin 4 drwxr-xr-x 156 root wheel 3072 Sep 24 16:06 share 2 drwxr-xr-x 4 root wheel 512 Sep 18 22:14 src 2 drwxr-xr-x 2 root wheel 512 Aug 6 12:57 translations 2 drwxr-xr-x 4 root wheel 512 Feb 22 2008 var 2 drwxr-xr-x 3 root wheel 512 Sep 19 11:58 www -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson