nvidia-container-toolkit/cmd
Ievgen Popovych eb35d9b30a nvidia-ctk hook chmod: Ignore permission errors
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>
2023-11-20 01:29:51 +02:00
..
nvidia-container-runtime Fix ifElseChain lint errors 2023-10-24 20:11:34 +02:00
nvidia-container-runtime-hook Support CDI devices as mounts 2023-10-27 21:24:53 +02:00
nvidia-container-runtime.cdi Add nvidia-container-runtime.cdi executable 2023-02-13 16:09:46 +01:00
nvidia-container-runtime.legacy Add nvidia-container-runtime.legacy executable 2023-02-13 16:09:46 +01:00
nvidia-ctk nvidia-ctk hook chmod: Ignore permission errors 2023-11-20 01:29:51 +02:00