Skip to content

Commit 5cb7faa

Browse files
committed
Fix fsGroup to vSphere
1 parent d6e27fa commit 5cb7faa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/volume/vsphere_volume/vsphere_volume.go

+1
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ func (b *vsphereVolumeMounter) SetUpAt(dir string, fsGroup *int64) error {
242242
os.Remove(dir)
243243
return err
244244
}
245+
volume.SetVolumeOwnership(b, fsGroup)
245246
glog.V(3).Infof("vSphere volume %s mounted to %s", b.volPath, dir)
246247

247248
return nil

0 commit comments

Comments
 (0)