Ich bekomme diesen Fehler, wenn ich diesen Code ausführen.
gpg --fingerprint
gpg: WARNUNG: unsicheres Eigentum auf Konfigurationsdatei `/home/dylan/.gnupg/gpg.conf
Das Problem scheint mit Berechtigungen zu sein, aber ich habe versucht, dieser Code, und es schien nichts zu ändern. Durch Nautilus überprüfen, besitze ich die Datei und habe Lese-/Schreibberechtigung, und alle anderen auf "keine" gesetzt.
sudo chmod 600 ~/.gnupg/gpg.conf
[email protected]:~$ sudo chown -R dylan ~dylan/.gnupg
[sudo] password for dylan:
[email protected]:~$ chmod 600 ~/.gnupg/gpg.conf
[email protected]:~$ chmod 700 ~/.gnupg
[email protected]:~$ gpg --fingerprint
[email protected]:~$ sudo gpg --fingerprint
gpg: WARNING: unsafe ownership on configuration file `/home/dylan/.gnupg/gpg.conf'
[email protected]:~$ ls -al /home/dylan/.gnupg
total 24
drwx------ 2 dylan dylan 4096 2010-02-02 13:46 .
drwxr-xr-x 60 dylan dylan 4096 2010-02-02 13:43 ..
-rw------- 1 dylan dylan 9364 2010-01-27 06:34 gpg.conf
-rw------- 1 dylan dylan 0 2010-01-27 06:34 pubring.gpg
-rw------- 1 dylan dylan 0 2010-01-27 06:34 secring.gpg
-rw------- 1 dylan dylan 40 2010-01-27 06:34 trustdb.gpg
[email protected]:~$
@Nona: Wie ich bereits sagte, führt der Befehl sudo (8) Befehle als "root" (Systemadministrator) aus. Wenn Sie root sind, dürfen Sie alles tun, Ihre Erlaubnis, die Sie mit chmod (1) geändert haben, betrifft nicht "root". Deshalb erhalten Sie die Warnung von gpg (1). 'dylan @ Majuscule: ~ $ gpg --fingerprint' Macht was es tun soll? – emil