Problem with test -r

Dominique Martinet asmadeus at codewreck.org
Tue Feb 14 11:48:25 UTC 2023


Vladimír Macek (Scripteo) wrote on Tue, Feb 14, 2023 at 11:19:18AM +0100:
> # dpkg -l docker.io | grep ii
> ii  docker.io      18.09.1+dfsg1-7.1+deb10u3 amd64        Linux container
> runtime

Say no more, this is a problem in the seccomp filter for this version of
docker.

upstream issue:
https://github.com/docker-library/ruby/issues/351

tl;dr this is a musl change, access switches to faccessat2 which isn't
allowed by this version of docker.

You'll have to upgrade docker, or disable seccomp filtering.
Bash's access() check really is failing, so [ -r fails for this reason.
-- 
Dominique


More information about the busybox mailing list