diff --git a/apparmor.d/abstractions/app-launcher-user b/apparmor.d/abstractions/app-launcher-user index a68f02ea..328b9d55 100644 --- a/apparmor.d/abstractions/app-launcher-user +++ b/apparmor.d/abstractions/app-launcher-user @@ -18,9 +18,9 @@ /opt/*/[a-zA-Z0-9]* rPUx, # Firefox - /{usr/,}bin/firefox{,-esr,-bin} rPx, - /{usr/,}lib{,32,64}/firefox{,-esr,-bin}/firefox{,-esr,-bin} rPx, - /opt/firefox{,-esr,-bin}/firefox{,-esr,-bin} rPx, + /{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, # Brave /opt/brave{-bin,.com}/brave{,-beta,-dev,-bin}/brave{,-beta,-dev,-bin} rPx, diff --git a/apparmor.d/groups/browsers/firefox b/apparmor.d/groups/browsers/firefox index 5f39682e..51625ff3 100644 --- a/apparmor.d/groups/browsers/firefox +++ b/apparmor.d/groups/browsers/firefox @@ -7,7 +7,7 @@ abi , include -@{firefox_name} = firefox{,-esr,-bin} +@{firefox_name} = firefox{,.sh,-esr,-bin} @{firefox_lib_dirs} = /{usr/,}lib{,32,64}/@{firefox_name} /opt/@{firefox_name} @{firefox_config_dirs} = @{HOME}/.mozilla/ @{firefox_cache_dirs} = @{user_cache_dirs}/mozilla/ diff --git a/apparmor.d/groups/children/child-open b/apparmor.d/groups/children/child-open index 2a9416b9..656aed6b 100644 --- a/apparmor.d/groups/children/child-open +++ b/apparmor.d/groups/children/child-open @@ -41,9 +41,9 @@ profile child-open { /{usr/,}bin/nautilus rPx, # Firefox - /{usr/,}bin/firefox{,-esr,-bin} rPx, - /{usr/,}lib{,32,64}/firefox{,-esr,-bin}/firefox{,-esr,-bin} rPx, - /opt/firefox{,-esr,-bin}/firefox{,-esr,-bin} rPx, + /{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, # Brave /opt/brave{-bin,.com}/brave{,-beta,-dev,-bin}/brave{,-beta,-dev,-bin} rPx, # Chromium