Re: [bitbake-devel] [PATCH] fetch2: add 'fixperms' option for tar archives with restrictive permissions

Alexander Kanavin <[email protected]>
Newsgroups org.openembedded.lists.bitbake-devel
Message-ID <CANNYZj9w9h-7v9YrC9AY9Vgm9anhpb+U4kyC_UT+Efo=D2zSgQ@mail.gmail.com>
On Sat, 22 Aug 2026 at 03:20, sh0127shin via lists.openembedded.org
<[email protected]> wrote:
> Some tar archives contain directories with restrictive
> permissions (e.g. drw-r--r--) that can prevent extraction
> or subsequent processing from completing successfully.

Hello,

I think this can be solved by adding unpack=0 to SRC_URI, and then
adding a custom task that runs between unpack and patch that extracts
the tarball with a special procedure. Tarballs can contains all kinds
of esoteric problems like this one, I don't think bitbake should try
to accommodate them.

Alex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.