Josh Kilmer writes:

Hi!

>> Do you have a recipe, preferrably a shell script example that shows
>> this?
>
> I do not have a small, reduced repro, as I'm not sure what is
> triggering the failed
> fchownat call in cp, which sets up errno to trigger the bug. What I
> got managed to
> reduce down to follows, but the tarball is large (~500 MB). That said, the
> patch you sent fixes this bug for me
>
> #!/bin/sh
> set -ue
>
> wget -nc 
> https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2026.05.06/riscv64-musl-ubuntu-24.04-gcc.tar.xz
> tar -xvf riscv64-musl-ubuntu-24.04-gcc.tar.xz
> find riscv -exec setfattr --name=user.test --value="test" {} \;
> mkdir -p pkg
> fakeroot cp -pR ./riscv/* ./pkg/

Hmm, what problem do you observe here?  For me everything exits 0, also
with fakeroot-1.38?

I would write/add it to the test; but I need to be able to reproduce the
problem...

Greetings,
Janneke

-- 
Janneke Nieuwenhuizen <[email protected]>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | AvatarĀ® https://AvatarAcademy.com

Reply via email to