[Bug 1917390] Re: Executable test [ -x file ] fails after upgrading libc
Sebastien Bacher
1917390 at bugs.launchpad.net
Tue Mar 2 07:37:52 UTC 2021
*** This bug is a duplicate of bug 1916485 ***
https://bugs.launchpad.net/bugs/1916485
Thank you for your bug report, that's already reported as bug #1916485
** This bug has been marked a duplicate of bug 1916485
test -x fails inside shell scripts in containers
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1917390
Title:
Executable test [ -x file ] fails after upgrading libc
Status in glibc package in Ubuntu:
New
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1917390/+subscriptions
More information about the foundations-bugs
mailing list