Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Oct 2021 09:20:44 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        FreeBSD Current <current@freebsd.org>, Jessica Clarke <jrtc27@freebsd.org>
Subject:   Re: NO_ROOT+DESTDIR: Permission denied?
Message-ID:  <CANCZdfocqNFd7UaVFdFx%2BccNWtykpX%2BOdWT0-VtM9rTnxNB_PQ@mail.gmail.com>
In-Reply-To: <770b3b52-015a-0d5c-bf48-1fccccd0dc84@FreeBSD.org>
References:  <770b3b52-015a-0d5c-bf48-1fccccd0dc84@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000108b5205cd4c1cdb
Content-Type: text/plain; charset="UTF-8"

On Fri, Oct 1, 2021 at 4:14 AM Andriy Gapon <avg@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfocqNFd7UaVFdFx%2BccNWtykpX%2BOdWT0-VtM9rTnxNB_PQ>