diff options
author | Marco Vedovati <mvedovati@suse.com> | 2018-06-15 12:13:19 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-06-22 14:06:05 +0000 |
commit | bb4db6d54873c05d0654ab848c09c24a76c95a73 (patch) | |
tree | a41d95f6ffe96a5d88bdafb520b32a7083b1f73a /cmd/podman/import.go | |
parent | 1d9e884232c5f89a896617f056fbfcceba1dea31 (diff) | |
download | podman-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 'cmd/podman/import.go')
0 files changed, 0 insertions, 0 deletions