gpg 1.2.6 fails to create ~/.gnupg on Solaris

Werner Koch wk at
Fri Sep 24 13:19:59 CEST 2004

On Fri, 24 Sep 2004 00:47:42 -0700 (PDT), Lee Johnson said:

> Hello:
> I have just installed GPG 1.2.6 in a Solaris (5.8) environment using GCC
> 2.95.3.  I ran into only one problem during the compile (a "Bus Error"
> message on every invocation that went away when I took out the
> --enable-m-guard option).

> However, gpg fails to create a ~/.gnupg directory for users.  It lists off
> a few errors about failing to create temporary files and then terminates

This is a known problem.

2004-08-31  Werner Koch  <wk at>

	* keydb.c (maybe_create_keyring): Try to create the home directory
	before acquiring a lock for the keyring.

We don't think that it is serious enough to justify a new release.
The workaround (mkdir ~/.gnupg) is simple enough.  

> (Creating ~/.gnupg is not the issue ... the issue is that I now do not
> trust my install to function properly.)

Don't worry; it happens on all systems.


More information about the Gnupg-users mailing list