gnupg: complaining about file permissions without reason
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnupg (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnupg
As you can see, ~/.gnupg is complaining about file permissions without reason:
Fetched 308B in 0s (748B/s)
Reading package lists... Done
W: GPG error: http://
W: You may want to run apt-get update to correct these problems
root@ridcully:
root@ridcully:
root@ridcully:
gpg: WARNING: unsafe ownership on configuration file `/home/
gpg: keyring `/home/
gpg: keyring `/home/
gpg: external program calls are disabled due to unsafe options file permissions
gpg: keyserver communications error: general error
gpg: keyserver receive failed: general error
root@ridcully:
gpg: WARNING: unsafe ownership on configuration file `/home/
gpg: external program calls are disabled due to unsafe options file permissions
gpg: keyserver communications error: general error
gpg: keyserver receive failed: general error
root@ridcully:
drwx------ 2 oz oz 4096 Aug 17 15:31 /home/oz/.gnupg
root@ridcully:
Mon Aug 17 15:32:12 CEST 2009
root@ridcully:
-rw------- 1 oz oz 9508 Jul 31 16:16 /home/oz/
file permissions are ok!
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: gnupg 1.4.9-3ubuntu1
ProcEnviron:
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: gnupg
Uname: Linux 2.6.28-14-generic x86_64
You might want to check, why it is using ~oz instead of ~root, when you run it as root. It is probably complaining, that ~oz/.gnupg/gpg.conf is not owned by the user root, who runs the command. If that is intended, you can use --no-permission -warning to overwrite the warning. From my point of view, you're complaints are not reasonable.