update apparmor profiles

Signed-off-by: Alexandre Pujol <alexandre@pujol.io>
This commit is contained in:
Mikhail Morfikov 2021-12-08 12:59:46 +01:00 committed by Alexandre Pujol
parent 44aca3ba51
commit 3430e3df90
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
56 changed files with 146 additions and 45 deletions

View file

@ -38,6 +38,9 @@ profile uscan @{exec_path} {
# To run custom maintainer scripts
owner @{user_build_dirs}/**/debian/* rPUx,
/usr/share/*/debian/ r,
/usr/share/*/debian/changelog r,
/{usr/,}bin/gpg rCx -> gpg,
/{usr/,}bin/gpgv rCx -> gpg,
@ -49,7 +52,6 @@ profile uscan @{exec_path} {
# For package building
owner @{user_build_dirs}/** rwkl -> @{user_build_dirs}/**,
# For GPG keys
owner /tmp/*/ rw,
owner /tmp/*/trustedkeys.gpg w,