Package: qemu-user-static Version: 1:7.1+dfsg-2 Hi, Debian Qemu team
I find wrong behave for bash in qemu-loongarch64-static. $ [[ -w . ]] && echo 1 but expect: $ [[ -w . ]] && echo 1 1 you can use gentoo stage3 image to reproduce it. https://bouncer.gentoo.org/fetch/root/all/releases/loong/autobuilds/ after search qemu community, it root cause to missing faccessat2 support. and there are patches to fix this issue, but pending for longtime. https://patchew.org/search?q=project%3AQEMU+faccessat2 there are 3 patches, any of these can fix this issue. thank you.