From c5a51a080fb3486bf7dcacf0f5aa73d49a6e1e52 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Wed, 27 Apr 2022 22:15:17 +0200 Subject: [PATCH] zgrep profile: also allow zstd openSUSE works on extending zgrep to also support zstd-compressed files. References: http://bugzilla.opensuse.org/show_bug.cgi?id=1198922 --- profiles/apparmor.d/zgrep | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiles/apparmor.d/zgrep b/profiles/apparmor.d/zgrep index 31975a67c..702d1468c 100644 --- a/profiles/apparmor.d/zgrep +++ b/profiles/apparmor.d/zgrep @@ -29,6 +29,7 @@ profile zgrep /usr/bin/{x,}zgrep { /usr/bin/xz Cx -> helper, /usr/bin/xzgrep r, /usr/bin/zgrep Cx -> helper, + /usr/bin/zstd Cx -> helper, owner /tmp/zgrep* rw, /usr/bin/zgrep r, @@ -45,6 +46,7 @@ profile zgrep /usr/bin/{x,}zgrep { /usr/bin/grep mr, /usr/bin/gzip mr, /usr/bin/xz mr, + /usr/bin/zstd mr, /{,**} r, }