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,