GPG Keys

Tez binary_y2k2 at blueyonder.co.uk
Fri Aug 18 03:59:11 UTC 2006


Leonard Chatagnier wrote:
> When I run:
> lchata at ubuntu:/etc/apt$ sudo gpg --keyserver
> subkeys.pgp.net --recv 33BAC1B3
> gpg: WARNING: unsafe enclosing directory ownership on
> configuration file `/home/lchata/.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
> lchata at ubuntu:/etc/apt$ 
>
> If I uderstand the message, it says that my home dir
> is unsafe and should be owned by not me??? Never seen
> this before using the command. Can somene explain this
> to me and tell me how to fix so I can activate the
> repo.
>
> Thanks
>
>
>
> Leonard Chatagnier
> lenc5570 at sbcglobal.net
>
>   
It's because you are running gpg as root but using your config file, so
the permissions on the directory "/home/lchata/.gnupg/" would have the
wrong permissions.
You don't have to run gpg as root to receive keys, you would only need
to run the "apt-key" part as root (sudo).

Tez






More information about the kubuntu-users mailing list