You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When podman exec is fired wihout -i in container running rootless (i.e. --user 2000:2000), /dev/null ownership is changed to 2000:2000 on host. No such problem when podman exec is run with -i.
Noticed in Debian 12:
# dpkg -s podman | grep Version
Version: 4.3.1+ds1-8+deb12u1
Steps to reproduce the issue
Steps to reproduce the issue
Set /dev/null ownership to root:root on host if different.
Start container rootless (i.e. --user 2000:2000).
Execute any cmd inside this container with podman exec without -i parameter, i.e. podman exec containername true
See /dev/null ownership on host (i.e. stat /dev/null) changed to 2000:2000.
Describe the results you received
Hosts /dev/null user and group changed to container uid/gid (2000:2000).
Issue Description
When
podman exec
is fired wihout-i
in container running rootless (i.e.--user 2000:2000
), /dev/null ownership is changed to 2000:2000 on host. No such problem when podman exec is run with-i
.Noticed in Debian 12:
Steps to reproduce the issue
Steps to reproduce the issue
root:root
on host if different.--user 2000:2000
).podman exec
without-i
parameter, i.e.podman exec containername true
Describe the results you received
Hosts /dev/null user and group changed to container uid/gid (2000:2000).
Describe the results you expected
Hosts /dev/null permissions not changed.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: