File renaming bug still in gpg 1.4.1rc2 on Windows
Patrick Brunschwig
patrick.brunschwig at gmx.net
Tue Mar 1 10:17:48 CET 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Patrick Brunschwig wrote:
> I just stumbled (again) across the file renaming bug on Windows XP with
> gpg 1.4.1 rc2.
>
> If my homedir is e.g. D:\patrick, then file renaming works fine.
>
> *But* if my homedir is:
> D:/Documents and Settings/patrick/Application Data/GnuPG
> then I still get the file renaming bug when trying to import a key:
>
> D:\gnupg\GnuPG\gpg.exe --charset utf8 --batch --no-tty --status-fd 2 -
> -import
> gpg: key D18D9C18: public key "..." imported
> gpg: Total number processed: 1
> gpg: imported: 1
> gpg: public key 57BBB132 is 4104 seconds newer than the signature
> gpg: renaming `D:/Documents and Settings/patrick/Application
> Data/GnuPG\pubring.gpg'
> to `D:/Documents and Settings/patrick/Application
> Data/GnuPG\pubring.bak' failed: Permission denied
> gpg: failed to rebuild keyring cache: file rename error
I found some more points for the bug. If the sequence is:
1. --edit-key
2. --list-key
then the error does not happen.
If the sequence is:
1. --edit-key
2. --edit-key
Then the error occurs regardless of the directory name.
- -Patrick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1rc2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCJDM42KgHx8zsInsRAkABAJ0d4eW/xcrb8i+W4+E9VjcgK1jBegCeJEKt
A7onpojo1oHryAhVYO2Z3rs=
=pCA+
-----END PGP SIGNATURE-----
More information about the Gnupg-devel
mailing list