From 11e7dab95e6bd37804c7ea9d270a68aa61136ad7 Mon Sep 17 00:00:00 2001 From: Vincas Dargis Date: Fri, 16 Feb 2018 16:54:32 +0200 Subject: [PATCH] Allow to create .nv directory Update nvidia abstraction to allow creating NVIDIA-specific user directories in case it is missing (due to fresh $HOME or if manually removed for any reason). --- profiles/apparmor.d/abstractions/nvidia | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/apparmor.d/abstractions/nvidia b/profiles/apparmor.d/abstractions/nvidia index 5e182a653..481a14c72 100644 --- a/profiles/apparmor.d/abstractions/nvidia +++ b/profiles/apparmor.d/abstractions/nvidia @@ -17,7 +17,8 @@ @{PROC}/driver/nvidia/params r, @{PROC}/modules r, - owner @{HOME}/.nv/GLCache/ r, + owner @{HOME}/.nv/ w, + owner @{HOME}/.nv/GLCache/ rw, owner @{HOME}/.nv/GLCache/** rwk, unix (send, receive) type=dgram peer=(addr="@nvidia[0-9a-f]*"),