-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpine 3.14: Potential bug in file test operator -x #180
Comments
You probably need newer runc: opencontainers/runc#2750 (If you strace it, it'll probably fail with EPERM on faccessat2 😔) |
The problem seems to occur only with gnu bash, not busybox:
|
Yes it does.
|
I'm also experiencing this problem with Docker version 19.03.14, btw. It looks like Docker 20.10 will fix this: https://docs.docker.com/engine/release-notes/#security-2 |
Starting with alpine 3.14 the file test operator
[ -x <FILE> ]
seems to returnfalse
for executable files:Compare this with the same command to alpine 3.13
This could also be a bug in busybox, which provides the
[
command for testing.The text was updated successfully, but these errors were encountered: