mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-21 15:57:49 +00:00
Fix default permissions
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
2e1f94aedf
commit
1b16b341dd
@ -35,7 +35,7 @@ func TestGetConfigWithCustomConfig(t *testing.T) {
|
||||
contents := []byte("[nvidia-container-runtime]\ndebug = \"/nvidia-container-toolkit.log\"")
|
||||
|
||||
require.NoError(t, os.MkdirAll(filepath.Dir(filename), 0766))
|
||||
require.NoError(t, os.WriteFile(filename, contents, 0766))
|
||||
require.NoError(t, os.WriteFile(filename, contents, 0600))
|
||||
|
||||
cfg, err := GetConfig()
|
||||
require.NoError(t, err)
|
||||
|
Loading…
Reference in New Issue
Block a user