diff options
author | 2020-10-03 07:56:28 -0400 | |
---|---|---|
committer | 2020-10-03 07:56:28 -0400 | |
commit | cb460c32ce154e0e09971b9069a477d7b850e35b (patch) | |
tree | 5080c6943898e99a09e95ac3f5b43a3133baf549 | |
parent | temporary fix for nvidia/nogroups/noroot issue (#3644, #841) (diff) | |
download | firejail-cb460c32c.tar.gz firejail-cb460c32c.tar.zst firejail-cb460c32c.zip |
more nvidia (#3644)
-rw-r--r-- | src/firejail/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index bed9bcc7e..8c29fe81c 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -403,7 +403,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
403 | } | 403 | } |
404 | else if (strcmp(ptr, "nogroups") == 0) { | 404 | else if (strcmp(ptr, "nogroups") == 0) { |
405 | // nvidia cards require video group; disable nogroups | 405 | // nvidia cards require video group; disable nogroups |
406 | if (access("/dev/nvidiactl", R_OK) == 0) { | 406 | if (access("/dev/nvidiactl", R_OK) == 0 && arg_no3d == 0) { |
407 | fwarning("Warning: NVIDIA card detected, nogroups command disabled\n"); | 407 | fwarning("Warning: NVIDIA card detected, nogroups command disabled\n"); |
408 | arg_nogroups = 0; | 408 | arg_nogroups = 0; |
409 | } | 409 | } |