mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
fix(gpg): due to how apt keyring is managed, the generic gpg needs apt keyring access.
fix #265
This commit is contained in:
parent
ca85373e3a
commit
ee328f727b
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,10 @@ profile gpg @{exec_path} {
|
|||
owner @{user_projects_dirs}/**/gnupg/ rw,
|
||||
owner @{user_projects_dirs}/**/gnupg/** rwkl -> @{user_projects_dirs}/**/gnupg/**,
|
||||
|
||||
# only: apt
|
||||
owner /etc/apt/keyrings/ rw,
|
||||
owner /etc/apt/keyrings/** rwkl -> /etc/apt/keyrings/**,
|
||||
|
||||
owner /var/lib/*/gnupg/ rw,
|
||||
owner /var/lib/*/gnupg/** rwkl -> /var/lib/*/gnupg/**,
|
||||
|
||||
|
|
Loading…
Reference in a new issue