aboutsummaryrefslogtreecommitdiff
path: root/pkg/varlinkapi/containers_create.go
diff options
context:
space:
mode:
authorMarco Vedovati <mvedovati@suse.com>2018-06-15 12:13:19 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-06-22 14:06:05 +0000
commitbb4db6d54873c05d0654ab848c09c24a76c95a73 (patch)
treea41d95f6ffe96a5d88bdafb520b32a7083b1f73a /pkg/varlinkapi/containers_create.go
parent1d9e884232c5f89a896617f056fbfcceba1dea31 (diff)
downloadpodman-bb4db6d54873c05d0654ab848c09c24a76c95a73.tar.gz
podman-bb4db6d54873c05d0654ab848c09c24a76c95a73.tar.bz2
podman-bb4db6d54873c05d0654ab848c09c24a76c95a73.zip
Fix image volumes access and mount problems on restart
Signed-off-by: Marco Vedovati <mvedovati@suse.com> - Set srcPath permissions so that the container user can R/W it. - Fix uninitialized spec.Mount when restarting a container. - Check for srcPath instead of volumePath existence when setting up a volume mount point for a container. - Set the overlay volumePath with the same owner and permissions as srcPath to allow proper access by the container user. Closes #844 Closes: #951 Approved by: rhatdan
Diffstat (limited to 'pkg/varlinkapi/containers_create.go')
0 files changed, 0 insertions, 0 deletions