On 9/20/21 23:20, Jorge Fábregas wrote:
Hi,
I have a RHEL 8.4 box , totally updated, using the "container-tools"
module (with the default rolling stream) and noticed that there's no
distinction between creating a volume with "z" or "Z". If I use
"Z" I
never get a "private unshared label" in the corresponding folder (no
MLS fields).
Is this really not available in RHEL 8.4 or am I missing something?
Thanks,
Jorge
_______________________________________________
Podman mailing list -- podman(a)lists.podman.io
To unsubscribe send an email to podman-leave(a)lists.podman.io
Please show me an example.
$ mkdir /tmp/foobar
$ podman run -v /tmp/foobar:/tmp/foobar:Z ubi8 ls -Zd /tmp/foobar
system_u:object_r:container_file_t:s0:c937,c994 /tmp/foobar
$ podman run -v /tmp/foobar:/tmp/foobar:z ubi8 ls -Zd /tmp/foobar
system_u:object_r:container_file_t:s0 /tmp/foobar