Replies: 1 comment 5 replies
-
Are you ssh into the container? Only the primary process (pid 1) of the container is guaranteed access to the leaked group sockets. |
Beta Was this translation helpful? Give feedback.
5 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.
-
Hello,
I try to access a host device inside a container while being connected through ssh.
I use
--userns keep-id --group-add keep-groups --device /dev/ttyS0
when running the container.Inside the container, I can call
cat /ttyS0
without a problem.id
shows:If I connect me through ssh, I get
Permission denied
wtihcat /ttyS0
.id
shows:How do I get the correct group rights when using ssh?
My minimal example:
https://gist.github.com/Viatorus/278266a421443e46bfa53f045a6bd474
Beta Was this translation helpful? Give feedback.
All reactions