Replies: 1 comment
-
An issue was created about this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm running a container as root using
userns=auto
and the device/dev/dri
mapped. My problem is that I've noticed that I can only use the device/dev/dri/renderD128
as the user root inside the container.In the host, the device
/dev/dri/renderD128
has 0666 permissions:However in a rootful container using a userns the permissions are changed to 0444, so a non-root user inside the container cannot use the device (it needs read-write):
If not using a userns, the permissions are preserved:
I'm using Fedora 39 with these package versions:
podman-4.8.3-1.fc39.x86_64
crun-1.12-1.fc39.x86_64
Is this expected? How can I correct the permissions of the device?
Beta Was this translation helpful? Give feedback.
All reactions