mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
feat(firefox): distributions have many paths for ff.
This commit is contained in:
parent
a95da2e5b8
commit
f086f71ba9
3 changed files with 7 additions and 7 deletions
|
@ -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,
|
||||
|
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{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/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue