Description of problem:
Consider the following commands, executed as root:
# mount --bind -o noexec /bin /mnt
The expected behavior is the following:
bash: /mnt/ls: Permission denied
This is what happens on Fedora 33.
On both RHEL7 and RHEL8, the "ls" utility is executed.
How reproducible: 100%
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (util-linux bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.