22 Sep
2021
22 Sep
'21
1:46 p.m.
On 9/22/21 3:04 AM, Michael Ivanov wrote:
What might be wrong here?
I can confirm this (Fedora 33/ podman 3.3.0). Yes , it's weird. It's overriding the user/group ownership on first run to that of the host user. However, if you do it with a bind mount it works as expected: mkdir ~/mydata podman unshare chown 34:34 mydata/ podman run -it --rm -v ~/mydata/:/mnt httpd bash -----> ls -ld /mnt -----> drwxrwxr-x. 2 backup backup 4096 Sep 22 13:40 /mnt -----> grep backup /etc/passwd -----> backup:x:34:34:backup:/var/backups:/usr/sbin/nologin -- Jorge