ubuntu - gpg: WARNING: unsafe ownership on configuration file, $gpg --fingerprint on Ubuntu9.10 -
I get this error when I run this code I
GPG - -fingerprint
GPG: Warning: `/home/dylan/.gnupg/gpg.conf on configuration file
problem Feel with permission, but I have tried this code, and it does not seem to change one thing, it is being investigated through Nautilus, I am the owner of the file and have read / write priv, and All other 'none I have set for.
sudo chmod 600 ~ / .gnupg / gpg.conf
Dylan @ bigger character: ~ $ sudo chown R Dylan ~ Dylan / .gnupg [sudo] Password for Dylan: Dylan @ bigger character: ~ $ chmod 600 ~ / .gnupg / GPG. Dylan @ bigger letter: ~ $ chmod 700 ~ / .gnupg Dylan @ bigger letter: ~ $ GPG --fingerprint Dylan @ Large Characters: ~ $ sudo GPG - fingerprint GPG: Warning: Unsafe ownership on configuration file `/ home / Dylan / .gnupg / gpg.conf 'Dialon @ Majuscule: ~ $ ls -al / home / dylan /.gnupg Total 24 drwx ------ 2 Dialan Dillon 4096 2010-02-02 13:46. Drwxr-xr-x60 Dylan Dialan 4096 2010-02-02 13:43 .. -RW ------- 1 Dialan Dialan 9364 2010-01-27 06:34 gpg.conf -rw ----- - 1 Dylan Dylan 0 / 2010-01-27 06:34 pubring.gpg -rw ------- 1 Dialan Dylan 0 / 2010-01-27 06:34 secring.gpg -rw ------ - 1 Dylan Dylan 40 2010-01-27 06:34 trustdb.gpg Dylan @ bigger letter: ~ $
command sudo
Do you want to keep the file as your user Dillon , OK is?
It probably happens that the root is the owner of your files and can now be changed by:
sudo chown r dylan ~ dylan / .gnupg
and then Dylan
:
chmod 600 ~ / .gnupg / gpg.conf chmod 700 ~ / .gnupg
To check the result:
ls After writing
the letters to the left:
r
to use the reading (4), w
write access (2), <
6 = 4 + 2 -> read and write entry
and 7 = 4 + 2 + 1 -> reading, writing Au To perform the use
will be able to access a directory need to executed access.
If you want to create a directory, where it is possible that the list of files does not go on, you can do this: chmod 100 the_directory
.
Read the manual for more information.
Comments
Post a Comment