diff --git a/libpod/container_internal.go b/libpod/container_internal.go index b2e23b3a85..80b160919c 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -1557,7 +1557,7 @@ func (c *Container) chownVolume(volumeName string) error { if err != nil { return err } - if err := os.Chown(path, uid, gid); err != nil { + if err := os.Lchown(path, uid, gid); err != nil { return err } return nil