From owner-freebsd-ports@FreeBSD.ORG Tue Feb 8 21:30:12 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 7027316A4CE for ; Tue, 8 Feb 2005 21:30:12 +0000 (GMT) Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8F9543D46 for ; Tue, 8 Feb 2005 21:30:11 +0000 (GMT) (envelope-from reso3w83@verizon.net) Received: from ringworm.mechee.com ([4.26.84.7]) by out012.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050208213011.YMES15978.out012.verizon.net@ringworm.mechee.com> for ; Tue, 8 Feb 2005 15:30:11 -0600 Received: by ringworm.mechee.com (Postfix, from userid 1001) id E25112CE7D6; Tue, 8 Feb 2005 13:26:09 -0800 (PST) From: "Michael C. Shultz" To: freebsd-ports@freebsd.org Date: Tue, 8 Feb 2005 13:26:09 -0800 User-Agent: KMail/1.7.2 References: <200501190505.j0J55Jj2023425@freefall.freebsd.org> <420929D7.5040500@FreeBSD.org> In-Reply-To: <420929D7.5040500@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502081326.09576.reso3w83@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [4.26.84.7] at Tue, 8 Feb 2005 15:30:11 -0600 Subject: Re: ports/76422: devel/automake ports fail to install when built as non-root 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: Tue, 08 Feb 2005 21:30:12 -0000 On Tuesday 08 February 2005 01:06 pm, Ade Lovett wrote: > > The pre-install and post-install targets are not run with elevated > > privileges, so the mkdir commands in the pre-install target fail > > when trying to install as non-root (in other words, su seems to > > only be applied for do-install) > > A quick scan of the ports tree seems to indicate that a significant > percentage of *all* ports appear to have this issue. > > I can certainly go ahead and make the change to automake*, and even > autoconf* and libtool* at the same time, but these are only 8 ports > out of many thousands that currently require elevated privileges in > pre-install and post-install targets. > > It may make considerably more sense to do a complete sweep of the > tree rather than piecemeal. > > ports@ cc'd for a wider audience. > > -aDe If a port is prefix compliant and the prefix is set to the user's home directory then lowered privileges may be waranted, otherwise only root should be installing and removing ports IMHO. -Mike