From d44d2491b9ba8981b4f77c3bfb6dcfc94274369c Mon Sep 17 00:00:00 2001 From: curiosityseeker <60518106+curiosityseeker@users.noreply.github.com> Date: Fri, 19 Jan 2024 16:44:21 +0100 Subject: [PATCH] Update btrfs --- apparmor.d/profiles-a-f/btrfs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apparmor.d/profiles-a-f/btrfs b/apparmor.d/profiles-a-f/btrfs index 8326bcab..4d7e3a70 100644 --- a/apparmor.d/profiles-a-f/btrfs +++ b/apparmor.d/profiles-a-f/btrfs @@ -41,13 +41,18 @@ profile btrfs @{exec_path} flags=(attach_disconnected) { @{run}/blkid/blkid.tab{,-@{rand6}} rw, @{run}/blkid/blkid.tab.old rwl -> @{run}/blkid/blkid.tab, - + @{run}/snapper-tools-*/ r, + @{run}/snapper-tools-@{rand6}/@/.snapshots/@{int}/snapshot r, + + @{sys}/fs/btrfs/@{uuid}/exclusive_operation r, @{sys}/fs/btrfs/@{uuid}/devinfo/@{int}/fsid r, + @{sys}/fs/btrfs/@{uuid}/devinfo/@{int}/scrub_speed_max r, @{PROC}/partitions r, owner @{PROC}/@{pid}/mounts r, /dev/btrfs-control rw, + /dev/pts/@{int} rw, /dev/tty@{int} rw,