Executable test [ -x file ] fails after upgrading libc
Bug #1917390 reported by
Owen Healy
This bug report is a duplicate of:
Bug #1916485: test -x fails inside shell scripts in containers.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce (on an amd64 machine):
name=$(docker create --tty ubuntu:21.04 sleep inf)
docker start $name
docker exec $name apt-get update -y
docker exec $name apt-get install libc6 -y
docker exec $name bash -c 'if [ ! -x /bin/cat ] ; then echo no ; fi'
This will print 'no' at the end, indicating /bin/cat fails to test as executable.
Release: hirsute
Architecture: amd64
Package: libc6
Version: 2.33-0ubuntu2
To post a comment you must log in.
Thank you for your bug report, that's already reported as bug #1916485