From 7d660f7c23aa30ea65f2bb491eda04eaf008b2b9 Mon Sep 17 00:00:00 2001 From: Vladimir Bauer Date: Wed, 1 Feb 2023 15:34:50 +0500 Subject: [PATCH] gpgconf: allow write access to @{run}/user/@{uid}/gnupg/ (#114) --- apparmor.d/groups/gpg/gpgconf | 1 + 1 file changed, 1 insertion(+) diff --git a/apparmor.d/groups/gpg/gpgconf b/apparmor.d/groups/gpg/gpgconf index 404794d9..74b03e29 100644 --- a/apparmor.d/groups/gpg/gpgconf +++ b/apparmor.d/groups/gpg/gpgconf @@ -26,6 +26,7 @@ profile gpgconf @{exec_path} { /{usr/,}bin/pinentry-* rPx, owner @{HOME}/@{XDG_GPG_DIR}/** rwkl -> @{HOME}/@{XDG_GPG_DIR}/**, + owner @{run}/user/@{uid}/gnupg/ w, owner @{run}/user/@{uid}/gnupg/** rwkl -> @{run}/user/@{uid}/gnupg/**, owner @{user_projects_dirs}/**/gnupg/** rwkl -> @{user_projects_dirs}/**/gnupg/**,