From nobody Fri Oct 01 15:20:44 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 9230F17F5E20 for ; Fri, 1 Oct 2021 15:21:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ua1-x930.google.com (mail-ua1-x930.google.com [IPv6:2607:f8b0:4864:20::930]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HLYj93NWyz4Zp4 for ; Fri, 1 Oct 2021 15:21:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-ua1-x930.google.com with SMTP id b34so6930972uad.8 for ; Fri, 01 Oct 2021 08:21:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ear0QXm4/MMCi8UVY2vYEkNTSjzKVBOquvnf8nDwLTg=; b=OGOU2SfhQwuTimmGmawLb1mmEX0LfdWpSd/Fll1xq3+Uf/t0U4Y1GnivDzGLi1B3H6 e8tSkFjbqBhKw198dYBlhRToRo3jOMuMrW4BS7Y44otrD7+krUeEkb+PQjF2jUoLClnw tdDosyeijZbwE/tkYPi/OPR9vik6Y84mu5CxKt7BXlSdRgYVNcNKa6YUr4+fbCjXjsc+ Z3vzxECJpYH5HljwYAEcKBpDDPtwru1gCfj0NZ+7+HWeD0FB4tkNDqpPuTO6UTB98b60 5BJrcjj2tCENdCyShSO554yas6ki8JcaLcHcjIQtWOCOGIOA3caBf5+WCntn127QERRN crTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ear0QXm4/MMCi8UVY2vYEkNTSjzKVBOquvnf8nDwLTg=; b=ppkGa7sjcQ7JYOiB10fU/1BnE2qPIHeA4ebYGiCZBBaYAMwVahEe2lbl/9z/RTMD7k 6XdhtkP8h7ErWTDHGELOUbqX+3WesBjxZH1/3fJube+DNadP0P8SQO49NxXDgkSL5z3z DW3AFwrxMW+5Qi8asgEX8D6a6K2zxc8Mf0NuGvBeumzdKz3b+EQyYAYPrGDKA+Pda0m2 nuLwYTOooC7MnEj1MV4lYVE/+kzYzLurhYaaohisDzWwlr50KIBzAxW8i0RggMBNd13a LUGmoijd/8AkesEcCENU/6uoGJaildjbX/YwqOpG6iQGT79RtFd4ZyQzE9jZRv13096X 0mGw== X-Gm-Message-State: AOAM5322aVTCm5spXJQcjExklMNNPVkQu5DSGZ1aeJ/Sv8EkJ9z7AZ4Z 6WX5KQNAFbCUDrt470A5PSho93EeAc5/PigJ3qGDrw== X-Google-Smtp-Source: ABdhPJySlkQc1un/2MJo4q/rJpq/GmtA8pkO1KnFqOQsuxf5Hck3v1v9ZUX3M9p1BTH4yBwhKHMiOKH5tg8ZjoA6fxM= X-Received: by 2002:ab0:471d:: with SMTP id h29mr10768322uac.11.1633101655602; Fri, 01 Oct 2021 08:20:55 -0700 (PDT) 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 References: <770b3b52-015a-0d5c-bf48-1fccccd0dc84@FreeBSD.org> In-Reply-To: <770b3b52-015a-0d5c-bf48-1fccccd0dc84@FreeBSD.org> From: Warner Losh Date: Fri, 1 Oct 2021 09:20:44 -0600 Message-ID: Subject: Re: NO_ROOT+DESTDIR: Permission denied? To: Andriy Gapon Cc: FreeBSD Current , Jessica Clarke Content-Type: multipart/alternative; boundary="000000000000108b5205cd4c1cdb" X-Rspamd-Queue-Id: 4HLYj93NWyz4Zp4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000108b5205cd4c1cdb Content-Type: text/plain; charset="UTF-8" On Fri, Oct 1, 2021 at 4:14 AM Andriy Gapon wrote: > > 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. > Does the following code review help? https://reviews.freebsd.org/D30990 Warner --000000000000108b5205cd4c1cdb--