fix(gpg): due to how apt keyring is managed, the generic gpg needs apt keyring access.

fix #265
This commit is contained in:
Alexandre Pujol 2023-12-17 17:33:42 +00:00
parent ca85373e3a
commit ee328f727b
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -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/**,