diff --git a/apparmor.d/profiles-a-f/etckeeper b/apparmor.d/profiles-a-f/etckeeper index a9ae7591..bf93ebb4 100644 --- a/apparmor.d/profiles-a-f/etckeeper +++ b/apparmor.d/profiles-a-f/etckeeper @@ -42,7 +42,7 @@ profile etckeeper @{exec_path} { @{bin}/uniq rix, @{bin}/whoami rix, @{bin}/xargs rix, - @{lib}/git-core/git* rix, + @{lib}/git{,-core}/git* rix, /etc/.git/hooks/* rix, /etc/etckeeper/*.d/* rix, diff --git a/apparmor.d/profiles-g-l/hugo b/apparmor.d/profiles-g-l/hugo index 3e43e51f..fecf090c 100644 --- a/apparmor.d/profiles-g-l/hugo +++ b/apparmor.d/profiles-g-l/hugo @@ -21,11 +21,12 @@ profile hugo @{exec_path} { @{exec_path} mr, - @{bin}/git rix, - @{lib}/go/bin/go rix, - @{lib}/git-core/git-remote-http rix, + @{bin}/git rix, + @{lib}/git{,-core}/git rix, + @{lib}/git{,-core}/git-remote-http rix, + @{lib}/go/bin/go rix, - /usr/share/git-core/{,**} r, + /usr/share/git{,-core}/{,**} r, /usr/share/mime/{,**} r, /usr/share/terminfo/x/xterm-256color r, diff --git a/apparmor.d/profiles-m-r/onefetch b/apparmor.d/profiles-m-r/onefetch index 8ee2b1cc..a76cd584 100644 --- a/apparmor.d/profiles-m-r/onefetch +++ b/apparmor.d/profiles-m-r/onefetch @@ -15,6 +15,7 @@ profile onefetch @{exec_path} { @{exec_path} mr, @{bin}/git rPx, + @{lib}/git{,-core}/git rPx, owner @{user_config_dirs}/git/{,**} r, owner @{user_projects_dirs}/{,**} r, diff --git a/apparmor.d/profiles-m-r/pass b/apparmor.d/profiles-m-r/pass index 0e54b6a7..8d014130 100644 --- a/apparmor.d/profiles-m-r/pass +++ b/apparmor.d/profiles-m-r/pass @@ -42,6 +42,7 @@ profile pass @{exec_path} { @{bin}/which rix, @{bin}/git rCx -> git, + @{lib}/git{,-core}/git rCx -> git, @{bin}/gpg{2,} rCx -> gpg, @{bin}/qdbus rCx -> qdbus, @{bin}/vim{,.*} rCx -> editor, @@ -105,8 +106,8 @@ profile pass @{exec_path} { network inet6 stream, network netlink raw, - @{bin}/git* mrix, - @{lib}/git-core/git* mrix, + @{bin}/git* mrix, + @{lib}/git{,-core}/git* mrix, @{bin}/pager rPx -> child-pager, @{bin}/less rPx -> child-pager, @@ -114,7 +115,7 @@ profile pass @{exec_path} { @{bin}/gpg{2,} rPx -> pass//gpg, - /usr/share/git-core/{,**} r, + /usr/share/git{,-core}/{,**} r, owner @{HOME}/.gitconfig r, owner @{user_config_dirs}/git/{,*} r, diff --git a/apparmor.d/profiles-m-r/repo b/apparmor.d/profiles-m-r/repo index d1e6abb7..a57bb508 100644 --- a/apparmor.d/profiles-m-r/repo +++ b/apparmor.d/profiles-m-r/repo @@ -30,9 +30,8 @@ profile repo @{exec_path} { @{bin}/{,ba,da}sh rix, @{bin}/uname rix, - @{bin}/git rix, - @{lib}/git-core/git rix, - @{lib}/git-core/git-* rix, + @{bin}/git rix, + @{lib}/git{,-core}/git* rix, @{bin}/curl rCx -> curl, @{bin}/gpg{,2} rCx -> gpg, diff --git a/apparmor.d/profiles-s-z/youtube-dl b/apparmor.d/profiles-s-z/youtube-dl index e8de978d..fce659c4 100644 --- a/apparmor.d/profiles-s-z/youtube-dl +++ b/apparmor.d/profiles-s-z/youtube-dl @@ -42,6 +42,7 @@ profile youtube-dl @{exec_path} { @{bin}/ldconfig rix, @{bin}/rtmpdump rix, @{bin}/uname rix, + @{lib}/git{,-core}/git rix, @{lib}/llvm-[0-9]*/bin/clang rix, /etc/mime.types r,