gpg on read-only filesystem

Friedhelm Waitzmann gnupgmlusers.fwnsp at xoxy.net
Tue Oct 22 17:54:38 CEST 2019


Hello!

Fourhundred Thecat:

>Also, I consider it good practice to have / mounted read-only, and I
>don't understand why gpg would need to open trustdb.gpg in rw mode, when
>using  simple operations such as gpg --verify.

>gpg: Fatal: can't open '/root/.gnupg/trustdb.gpg': Operation not permitted

A solution for the verify use case: Just read the manual
(<https://www.gnupg.org/documentation/manuals/gnupg/GPG-Configuration-Options.html#index-auto_002dcheck_002dtrustdb>)
and use “--no-auto-check-trustdb”.

HTH
Friedhelm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20191022/e6554e2a/attachment.sig>


More information about the Gnupg-users mailing list