summaryrefslogtreecommitdiff
path: root/libpod/container_internal_unsupported.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-06-02 05:28:26 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-06-14 11:56:48 -0400
commit81eb71fe36db14f82452b0ded176095b63cb4a4e (patch)
tree430d50d61ce7ed25db52c5270ae8b3fd0944faf5 /libpod/container_internal_unsupported.go
parente3dd12a2bed03ae7ad221eefd7b92ddef2a59888 (diff)
downloadpodman-81eb71fe36db14f82452b0ded176095b63cb4a4e.tar.gz
podman-81eb71fe36db14f82452b0ded176095b63cb4a4e.tar.bz2
podman-81eb71fe36db14f82452b0ded176095b63cb4a4e.zip
Fix permissions on initially created named volumes
Permission of volume should match the directory it is being mounted on. Fixes: https://github.com/containers/podman/issues/10188 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/container_internal_unsupported.go')
-rw-r--r--libpod/container_internal_unsupported.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/container_internal_unsupported.go b/libpod/container_internal_unsupported.go
index f979bcbde..125329ce5 100644
--- a/libpod/container_internal_unsupported.go
+++ b/libpod/container_internal_unsupported.go
@@ -57,3 +57,8 @@ func (c *Container) reloadNetwork() error {
func (c *Container) getUserOverrides() *lookup.Overrides {
return nil
}
+
+// Fix ownership and permissions of the specified volume if necessary.
+func (c *Container) fixVolumePermissions(v *ContainerNamedVolume) error {
+ return define.ErrNotImplemented
+}