gpg on read-only filesystem

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


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
and use “--no-auto-check-trustdb”.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Digital signature
URL: <>

More information about the Gnupg-users mailing list