mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 08:18:32 +00:00
eb35d9b30a
In some cases we might get a permission error trying to chmod - most likely this is due to something beyond our control like whole `/dev` being mounted. Do not fail container creation in this case. Due to loosing control of the program after `exec()`-ing `chmod(1)` program and therefore not being able to handle errors - refactor to use `chmod(2)` syscall instead of `exec()` `chmod(1)` program. Fixes: #143 Signed-off-by: Ievgen Popovych <jmennius@gmail.com> |
||
---|---|---|
.. | ||
nvidia-container-runtime | ||
nvidia-container-runtime-hook | ||
nvidia-container-runtime.cdi | ||
nvidia-container-runtime.legacy | ||
nvidia-ctk |