From 03e974525e5991bbf7ce046d6145162e28de9b7d Mon Sep 17 00:00:00 2001 From: Roman Beslik Date: Thu, 26 Sep 2024 15:27:16 +0300 Subject: [PATCH] Narrowed the temporary file permission --- apparmor.d/profiles-s-z/xsane-gimp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apparmor.d/profiles-s-z/xsane-gimp b/apparmor.d/profiles-s-z/xsane-gimp index a18ce315..1ae25a35 100644 --- a/apparmor.d/profiles-s-z/xsane-gimp +++ b/apparmor.d/profiles-s-z/xsane-gimp @@ -24,7 +24,7 @@ profile xsane-gimp @{exec_path} { @{system_share_dirs}/snmp/mibs/{,**} r, # network /etc/sane.d/{,**} r, owner @{HOME}/.sane/{,**} rw, - owner @{tmp}/xsane-* rw, + owner @{tmp}/xsane-*-@{rand6} rw, @{sys}/devices/@{pci}/{model,type,vendor} r, @{PROC}/sys/dev/parport/{,parport@{int}/{base-addr,irq}} r,