Generate spec file with 644 permissions

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2023-05-02 16:28:03 +02:00
parent 367a30827f
commit 3056428eda
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@
* Add support for updating containerd configs to the `nvidia-ctk runtime configure` command.
* Create file in `etc/ld.so.conf.d` with permissions `644` to support non-root containers.
* Generate CDI specification files with `644` permissions to allow rootless applications (e.g. podman)
## v1.13.1

View File

@ -251,6 +251,7 @@ func (m command) generateSpec(cfg *config) (spec.Interface, error) {
spec.WithDeviceSpecs(deviceSpecs),
spec.WithEdits(*commonEdits.ContainerEdits),
spec.WithFormat(cfg.format),
spec.WithPermissions(0644),
)
}