Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Docker image oraclelinux:8: ls shows "Operation not permitted"

$ docker run -it --rm container-registry.oracle.com/os/oraclelinux:8 bash
[root@c64be996db10 /]# ls -l /
ls: cannot access '/': Operation not permitted
[root@c64be996db10 /]# ls
ls: cannot access 'bin': Operation not permitted
ls: cannot access 'boot': Operation not permitted
ls: cannot access 'dev': Operation not permitted
ls: cannot access 'etc': Operation not permitted
ls: cannot access 'home': Operation not permitted
ls: cannot access 'lib': Operation not permitted
ls: cannot access 'lib64': Operation not permitted
ls: cannot access 'media': Operation not permitted
ls: cannot access 'mnt': Operation not permitted
ls: cannot access 'opt': Operation not permitted
ls: cannot access 'proc': Operation not permitted
ls: cannot access 'root': Operation not permitted
ls: cannot access 'run': Operation not permitted
ls: cannot access 'sbin': Operation not permitted
ls: cannot access 'srv': Operation not permitted
ls: cannot access 'sys': Operation not permitted
ls: cannot access 'tmp': Operation not permitted
ls: cannot access 'usr': Operation not permitted
ls: cannot access 'var': Operation not permitted
bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var

This seems to be related to the bugĀ https://bugzilla.redhat.com/show_bug.cgi?id=1764152

[root@c64be996db10 /]# rpm -qa coreutils
coreutils-8.30-12.0.1.el8.x86_64
Comments
Post Details
Added on Nov 24 2021
1 comment
4,339 views