On 04/06/18 03:47, Vincas Dargis wrote:
[...]
>>> Update "the patch", allow file locking is mandatory
> 
> Uhm, locking is "k", not "l". "l" is for linking.

Yes, you're right! I had never written rules for AppArmor before, sorry.

@@ -248,6 +248,7 @@
     owner @{HOME}/.gnupg/trustdb.gpg rw,
     owner @{HOME}/.gnupg/S.gpg-agent rw,
     owner @{HOME}/.gnupg/S.dirmngr rw,
+    owner @{HOME}/.gnupg/tofu.db wrk,
     owner @{HOME}/.gnupg/*.{gpg,kbx}.{lock,tmp} rwl,
     owner @{HOME}/.gnupg/.gpg-*.lock rwl,
     owner @{HOME}/.gnupg/gnupg_spawn_*.lock rwl,

This is what I have now and after 12 hours of testing approx. It seems to be
working OK. Thank you for the review :)

-- 
TiN

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to