From 7d9ae262c95539593e286823b009499acb3ca8e5 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 2 Aug 2024 14:54:32 +0200 Subject: [PATCH] fix: borg profile mounting issues. fix 431 --- apparmor.d/profiles-a-f/borg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apparmor.d/profiles-a-f/borg b/apparmor.d/profiles-a-f/borg index 107330419..6a8eff043 100644 --- a/apparmor.d/profiles-a-f/borg +++ b/apparmor.d/profiles-a-f/borg @@ -21,6 +21,9 @@ profile borg @{exec_path} { network inet6 dgram, network netlink raw, + mount fstype=fuse options=(ro nosuid nodev) borgfs -> @{MOUNTS}/, + mount fstype=fuse options=(ro nosuid nodev) borgfs -> @{MOUNTS}/*/, + @{exec_path} r, @{bin}/ r, @@ -107,6 +110,9 @@ profile borg @{exec_path} { /etc/fuse.conf r, + @{MOUNTS}/ r, + @{MOUNTS}/*/ r, + @{PROC}/@{pids}/mounts r, /dev/fuse rw,