diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-03-25 03:09:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-25 03:09:25 -0700 |
commit | 896ea085b1524750ce5ac4599dc3e2fd2972048c (patch) | |
tree | 7588deece106c66651e6b99676f2ef8249536a6b /libpod/volume_internal.go | |
parent | 95ef8a6f0398e8c62f9d1281638ec95823336c6a (diff) | |
parent | 452decf8a4e02c35413eb8dd691f2d4827972ec2 (diff) | |
download | podman-896ea085b1524750ce5ac4599dc3e2fd2972048c.tar.gz podman-896ea085b1524750ce5ac4599dc3e2fd2972048c.tar.bz2 podman-896ea085b1524750ce5ac4599dc3e2fd2972048c.zip |
Merge pull request #9768 from mheon/fix_9608
Ensure manually-created volumes have correct ownership
Diffstat (limited to 'libpod/volume_internal.go')
-rw-r--r-- | libpod/volume_internal.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/volume_internal.go b/libpod/volume_internal.go index c1dbe00fd..694cdd149 100644 --- a/libpod/volume_internal.go +++ b/libpod/volume_internal.go @@ -17,6 +17,7 @@ func newVolume(runtime *Runtime) *Volume { volume.config.Labels = make(map[string]string) volume.config.Options = make(map[string]string) volume.state.NeedsCopyUp = true + volume.state.NeedsChown = true return volume } |