mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +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
@ -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 New Issue
Block a user