From nobody Fri Oct 1 10:13:33 2021 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8272717DE23A for ; Fri, 1 Oct 2021 10:13:37 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HLQtT3Hywz3hpX for ; Fri, 1 Oct 2021 10:13:37 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from [192.168.0.88] (unknown [195.64.148.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: avg/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 1C470F6C2 for ; Fri, 1 Oct 2021 10:13:37 +0000 (UTC) (envelope-from avg@FreeBSD.org) To: FreeBSD Current From: Andriy Gapon Subject: NO_ROOT+DESTDIR: Permission denied? Message-ID: <770b3b52-015a-0d5c-bf48-1fccccd0dc84@FreeBSD.org> Date: Fri, 1 Oct 2021 13:13:33 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.14.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-ThisMailContainsUnwantedMimeParts: N When installing world with NO_ROOT and DESTDIR set I see a handful of permission denied errors like below: -------------------------------------------------------------- >>> Installing everything started on Fri Oct 1 13:09:32 EEST 2021 -------------------------------------------------------------- make[3]: "/usr/obj/apu2c4/usr/devel/git/apu2c4/amd64.amd64/toolchain-metadata.mk" line 1: Using cached toolchain metadata from build at trant on Mon 27 Sep 2021 16:29:14 EEST ===> lib (install) ===> bin (install) ===> cddl (install) ===> libexec (install) ===> gnu (install) make[4] warning: /bin: Permission denied. ===> include (install) make[4] warning: /lib: Permission denied. make[4] warning: /libexec: Permission denied. installworld works despite those and the result looks fine, but the messages a re little bit concerning. Perhaps, DESTDIR is not honored in some place? The able is for installing CURRENT on a stable/13 host. -- Andriy Gapon