PDA

View Full Version : [ubuntu] gpg: WARNING: unsafe permissions



00chilli00
October 23rd, 2009, 09:09 AM
Hi,
( sorry about warning in caps , its what the error said so yeh)
Im having some issues getting any gpg keys added =O.
This is the error.
chilli0@chilli0:~$ sudo gedit /etc/apt/sources.list
[sudo] password for chilli0:
chilli0@chilli0:~$ gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg: WARNING: unsafe permissions on configuration file `/home/chilli0/.gnupg/gpg.conf'
gpg: WARNING: unsafe enclosing directory permissions on configuration file `/home/chilli0/.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
chilli0@chilli0:~$

Anyone know how to fix?
Thanks

00chilli00
October 23rd, 2009, 09:12 AM
I also changed the perms on the file /home/chilli0/.gnupg/gpg.conf
That everything could read and write ( set to chilli0)

00chilli00
October 23rd, 2009, 09:12 AM
I also changed the perms on the file /home/chilli0/.gnupg/gpg.conf
That everything could read and write ( set to chilli0)

Barriehie
October 28th, 2009, 06:32 AM
I too was getting those messages and changed the permissions of both the .gnupg folder and gpg.conf as per the attached screenshot and now it works.

Barrie