GnuPG bug: --refresh-keys
Max Bowsher
maxb1@ukf.net
Thu Aug 3 15:59:00 GMT 2006
When running 'gpg --refresh-keys', the second updated key results in:
gpg: renaming `/home/max/.gnupg/pubring.gpg' to
`/home/max/.gnupg/pubring.gpg~' failed: Permission denied
gpg: error writing keyring `/home/max/.gnupg/pubring.gpg': file rename error
gpg: key XXXXXXXX: "...." 28 new signatures
gpg: error reading `[stream]': file rename error
Given that:
* this happens for the *second* updated key
* having another process running at the same time, rapidly moving away
any new pubring.gpg~ files avoids the error
* it is presumably Cygwin-specific
it seems extremely likely that gnupg has a file descriptor leak, such
that when the second key is processed, gnupg still has an open file
descriptor on the file pubring.gpg~ when it attempts to overwrite it by
renaming another file onto that name. Windows then objects.
Max.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 188 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20060803/cede3248/attachment.sig>
More information about the Cygwin
mailing list