From 96c79417cc4bff93e4ff2a2e20a65d6919bca3a0 Mon Sep 17 00:00:00 2001 From: Jeroen Rijken Date: Wed, 7 Jun 2023 22:45:48 +0200 Subject: [PATCH] Add vscodium & thunderbird Signed-off-by: Jeroen Rijken --- apparmor.d/abstractions/app-launcher-user | 10 +++++++++- apparmor.d/groups/apt/apt-overlay | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/apparmor.d/abstractions/app-launcher-user b/apparmor.d/abstractions/app-launcher-user index 328b9d55..4ea2be84 100644 --- a/apparmor.d/abstractions/app-launcher-user +++ b/apparmor.d/abstractions/app-launcher-user @@ -17,13 +17,21 @@ /opt/*/ r, /opt/*/[a-zA-Z0-9]* rPUx, + # Codium + /usr/share/codium/codium rPUx, + # Firefox /{usr/,}bin/firefox{,.sh,-esr,-bin} rPx, /{usr/,}lib{,32,64}/firefox{,.sh,-esr,-bin}/firefox{,.sh,-esr,-bin} rPx, /opt/firefox{,.sh,-esr,-bin}/firefox{,.sh,-esr,-bin} rPx, + # Thunderbird + /{usr/,}bin/thunderbird{,.sh,-esr,-bin} rPx, + /{usr/,}lib{,32,64}/thunderbird{,.sh,-esr,-bin}/thunderbird{,.sh,-esr,-bin} rPx, + /opt/thunderbird{,.sh,-esr,-bin}/thunderbird{,.sh,-esr,-bin} rPx, + # Brave - /opt/brave{-bin,.com}/brave{,-beta,-dev,-bin}/brave{,-beta,-dev,-bin} rPx, + /opt/brave{-bin,.com}/brave{,-beta,-dev,-bin}/brave{,-beta,-dev,-bin,-browser} rPx, # Chromium /{usr/,}lib/chromium/chromium rPx, diff --git a/apparmor.d/groups/apt/apt-overlay b/apparmor.d/groups/apt/apt-overlay index 8dbdcf88..da13d899 100644 --- a/apparmor.d/groups/apt/apt-overlay +++ b/apparmor.d/groups/apt/apt-overlay @@ -24,7 +24,7 @@ profile apt-overlay @{exec_path} { /usr/share/rubygems-integration/{,**} r, / r, - /root/ r + /root/ r, owner @{PROC}/@{pids}/loginuid r, owner @{PROC}/@{pids}/maps r,