From dc821ef7625d7f7d9231fd6489a2dedf959cc31a Mon Sep 17 00:00:00 2001 From: Georgia Garcia Date: Tue, 2 Jan 2024 10:48:07 -0300 Subject: [PATCH] profiles: add brave browser to the snap_browsers abstraction Signed-off-by: Georgia Garcia --- profiles/apparmor.d/abstractions/snap_browsers | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/profiles/apparmor.d/abstractions/snap_browsers b/profiles/apparmor.d/abstractions/snap_browsers index 98fdeed29..b6ee4ee8f 100644 --- a/profiles/apparmor.d/abstractions/snap_browsers +++ b/profiles/apparmor.d/abstractions/snap_browsers @@ -33,11 +33,7 @@ profile snap_browsers { /sys/kernel/security/apparmor/features/ r, # allow launching official browser snaps. - /snap/chromium/[0-9]*/meta/{snap.yaml,hooks/} r, - /snap/firefox/[0-9]*/meta/{snap.yaml,hooks/} r, - /snap/opera/[0-9]*/meta/{snap.yaml,hooks/} r, - - /var/lib/snapd/sequence/{chromium,firefox,opera}.json r, - /var/lib/snapd/inhibit/{chromium,firefox,opera}.lock rk, - # add other browsers here + /snap/{brave,chromium,firefox,opera}/[0-9]*/meta/{snap.yaml,hooks/} r, + /var/lib/snapd/sequence/{brave,chromium,firefox,opera}.json r, + /var/lib/snapd/inhibit/{brave,chromium,firefox,opera}.lock rk, }