unable to execute program `gpgkeys_hkp': Permission denied

David Shaw dshaw at jabberwocky.com
Thu Feb 10 21:18:39 CET 2005


On Thu, Feb 10, 2005 at 07:39:15PM +0000, Adam Funk wrote:
> > > I compiled and installed GnuPG 1.4.0.  Everything works except
> > > interaction with keyservers.  When I use --send-key, --recv-key or
> > > --refresh, it always fails thus:
> > >
> > > $ gpg -v --recv-key F09BDAD5
> > > gpg: requesting key F09BDAD5 from hkp server pgp.mit.edu
> > > gpg: unable to execute program `gpgkeys_hkp': Permission denied
> > > gpg: keyserver internal error
> > > gpg: keyserver receive failed: keyserver error
> > >
> > > How do I fix this?
> >
> > I had the same problem.  For some reason GnuPG wants these gpgkey_*
> > files in /usr/libexec/gnupg/, but they are installed in /usr/libexec
> >
> > Just symlink them (*) and then submit a bug report - I was and still
> > am too lazy to do it myself.
> 
> Hmm.  I found all those files in /usr/local/libexec/gnupg/ on my system, 
> but identified a related problem: the /usr/local/libexec 
> and /usr/local/libexec/gnupg directories were not world-executable. 
> "chmod a+x /usr/local/libexec /usr/local/libexec/gnupg" fixed it.  Thanks 
> for pointing me in the right direction.
> 
> Is this a bug in the install?

GnuPG doesn't actually do the install.  Rather, automake does.  It
seems to take your umask into account when doing it through.  What is
your umask?

David



More information about the Gnupg-users mailing list