mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-21 15:57:49 +00:00
Set default CDI spec permissions to 644
Although the nvidia-ctk cdi generate command generates specs with 644 permissions, the nvidia-ctk cdi transform commands do not. This change sets the default permissions to 600 instead of 644. Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
dfc8e22e12
commit
71e0b8590f
@ -77,7 +77,7 @@ func newBuilder(opts ...Option) *builder {
|
||||
s.format = FormatYAML
|
||||
}
|
||||
if s.permissions == 0 {
|
||||
s.permissions = 0600
|
||||
s.permissions = 0644
|
||||
}
|
||||
return s
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user