From 14fae89fddc4280298ec949a6b7b73cf3d2c3c52 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Tue, 20 Aug 2024 17:59:24 +0100 Subject: [PATCH] fix(profile): modprobed-db access to config files. fix #435 --- apparmor.d/profiles-m-r/modprobed-db | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apparmor.d/profiles-m-r/modprobed-db b/apparmor.d/profiles-m-r/modprobed-db index 29125f19..3798332e 100644 --- a/apparmor.d/profiles-m-r/modprobed-db +++ b/apparmor.d/profiles-m-r/modprobed-db @@ -28,9 +28,10 @@ profile modprobed-db @{exec_path} { @{bin}/uniq rix, @{bin}/wc rix, + /usr/share/modprobed-db/** r, /usr/share/terminfo/** r, - owner @{user_config_dirs}/modprobed-db.conf r, + owner @{user_config_dirs}/modprobed-db.conf rw, owner @{user_config_dirs}/modprobed.db rw, owner @{tmp}/.inmem rw,