.gnupg/gpg.conf permissions

David Shaw dshaw at jabberwocky.com
Tue Apr 7 01:14:05 CEST 2009


On Apr 6, 2009, at 6:25 PM, Robert Holtzman wrote:

> Just tried to d/l a key and was greeted with
>
> [holtzm at localhost]~$ sudo gpg --recv --keyserver pgp.mit.edu  
> A373FB480EC4FE05
> [sudo] password for holtzm:
> gpg: WARNING: unsafe ownership on configuration file `/home/ 
> holtzm/.gnupg/gpg.conf'
> gpg: external program calls are disabled due to unsafe options file  
> permissions
> gpg: keyserver communications error: general error
> gpg: keyserver receive failed: general error
>
> I have downloaded keys from this server before with no problems. The  
> ownership on the file in question is
> -rw------- 1 holtzm holtzm 9419 2008-10-04 21:58 ./.gnupg/gpg.conf

Why are you downloading keys as root (i.e. using sudo)?

David



More information about the Gnupg-users mailing list