Start adding tests for verifying correct modes

Add an example for permission bits checking
This commit is contained in:
Hemant Kumar
2020-02-28 12:23:31 -05:00
parent c52d4bf32f
commit b132959687
8 changed files with 205 additions and 15 deletions

View File

@@ -236,7 +236,7 @@ func (b *gitRepoVolumeMounter) SetUpAt(dir string, mounterArgs volume.MounterArg
return fmt.Errorf("failed to exec 'git reset --hard': %s: %v", output, err)
}
volume.SetVolumeOwnership(b, mounterArgs.FsGroup, nil)
volume.SetVolumeOwnership(b, mounterArgs.FsGroup, nil /*fsGroupChangePolicy*/)
volumeutil.SetReady(b.getMetaDir())
return nil