How to preserve the permission/owner/group owner on the pubring.gpg, secring.gpg and trustdb.gpg

Peter Lebbing peter at
Thu Aug 7 14:11:42 CEST 2014

On 07/08/14 14:02, Peter Lebbing wrote:
> gpgsecwrite:x:n:admin,test1

Hah, I mixed things. Obviously I meant pubring, not secring, and it
should be:


Because otherwise admin might be locked out when test1 updates pubring;
although I'm not sure, it depends on the exact way GnuPG will write the
file. Creating a new file and moving the old one out of the way is
already allowed through the permissions on the directory.

I'm really posting a *lot* of amendments to my mails currently, I'm
sorry about that. I'm trying to be too fast about it, I suppose.


I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <>

More information about the Gnupg-users mailing list