summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2021-06-10 13:52:30 +0200
committerMatthew Heon <mheon@redhat.com>2021-06-25 09:32:22 -0400
commit647c2024e24abdab28480ec2f99bddb4a0a5a6d0 (patch)
tree4ce9f0386709fcde4299527b5e37348e580dedb4 /cmd/podman
parentc2dcb3ee241749c4d6c7b7ce228f7fbfb1688c4e (diff)
downloadpodman-647c2024e24abdab28480ec2f99bddb4a0a5a6d0.tar.gz
podman-647c2024e24abdab28480ec2f99bddb4a0a5a6d0.tar.bz2
podman-647c2024e24abdab28480ec2f99bddb4a0a5a6d0.zip
Fix volumes with uid and gid options
Podman uses the volume option map to check if it has to mount the volume or not when the container is started. Commit 28138dafcc39 added to uid and gid options to this map, however when only uid/gid is set we cannot mount this volume because there is no filesystem or device specified. Make sure we do not try to mount the volume when only the uid/gid option is set since this is a simple chown operation. Also when a uid/gid is explicity set, do not chown the volume based on the container user when the volume is used for the first time. Fixes #10620 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'cmd/podman')
0 files changed, 0 insertions, 0 deletions