From owner-freebsd-arch@FreeBSD.ORG Fri Oct 24 08:59:56 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 18D14B40 for ; Fri, 24 Oct 2014 08:59:56 +0000 (UTC) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id D05FBE0E for ; Fri, 24 Oct 2014 08:59:55 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id B5389AA83; Fri, 24 Oct 2014 08:59:53 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id 0C7C91036D; Fri, 24 Oct 2014 10:59:43 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Simon J. Gerraty" Subject: Re: Retiring WITH_INSTALL_AS_USER References: <96C0B2BE-0621-4162-BBB7-7D34AEAB5FD0@gmail.com> <21044.1414038558@chaos> <9250.1414076335@chaos> Date: Fri, 24 Oct 2014 10:59:42 +0200 In-Reply-To: <9250.1414076335@chaos> (Simon J. Gerraty's message of "Thu, 23 Oct 2014 07:58:55 -0700") Message-ID: <86wq7p4zcx.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Arch X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2014 08:59:56 -0000 "Simon J. Gerraty" writes: > Hmm I have it permanently set in a projects/bmake tree that builds > buildworld etc fine (while producing meta files) - though its been a > month or two since last sync. WITH_INSTALL_AS_USER does not modify buildworld, so that's moot. It modifies installworld, and it does not work: % make installworld WITH_INSTALL_AS_USER=3DYES DESTDIR=3D/tmp/wiau [...] =3D=3D=3D> lib/libc (install) install -C -o des -g des -m 444 libc.a /tmp/wiau/usr/lib install -o des -g des -m 444 -fschg -S libc.so.7 /tmp/wiau/lib install: /tmp/wiau/lib/libc.so.7: chflags: Operation not permitted *** Error code 71 All it does is set the default *BIN / *GRP to the user name and primary group name of the current user. It does not prevent Makefiles from overriding them (or from setting chflags like libc does). DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no