private-keys-v1.d and preserve-permissions

Werner Koch wk at
Wed Sep 9 19:27:49 CEST 2020

On Wed,  9 Sep 2020 15:22, Martin Pätzold said:

> And if the setting is not what I need, how can I prevent the
> permissions for "private-keys-v1.d" from changing?

The --preserve-permissions is a gpg option and not one of gpg-agent.  In
fact gpg does not known anything about private-keys-v1.d.  And well, the
gpg option does nothing because gpg has no control over secret keys.

I will update the documentation to clarify that this is a dummy option.

Is there a special reason that you need to give group access to those


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

More information about the Gnupg-users mailing list