gpg: WARNING: unsafe permissions on configuration file `/home/b/.gnupg/options' gpg:
I downloaded this program recently, but don't recall doing anything with it, like setting it up or anything, and if it was a tar or a bz, I may have opened it, thus spraying it to locations unknown.
Anyway, when I opened bash as root and entered file name, it said permission denied. I don't know what to do. While I'm here, why does filename imply that 'home' is above 'b', but when I enter Home from icon, 'b' is not WITHIN it, but a level UP? I don't understand that. |
oh, and to be clear, that message appears on opening shell. the whole message is
gpg: WARNING: unsafe permissions on configuration file `/home/b/.gnupg/options' gpg: WARNING: unsafe enclosing directory permissions on configuration file `/home/b/.gnupg/options' |
Since b is your username, the directory /home/b is your "Home". Hence, Dolphin will say "Home" at the top. But it is actually /home/b. If you double click on the line that says "Home" it will show you that.
If you do up 1 level. You will be at /home where you will see b as a directory under it. I think the permission & ownership of the directory '/home/b/.gnupg' and the file in it '/home/b/.gnupg/options' is messed up. Open up Konsole. Run this command & post the output: Code:
ls -la | grep .gnupg |
Thanks ongte, here is output
drwxrwxr-x 3 e e 4096 2009-09-04 14:47 .gnupg/ And thanks for relieving my brain of the home/b paradox! |
yea, that's bad. if I'm reading that directory listing right, and the user name is 'b' then:
chmod 770 /home/b/.gnupg chown b:b /home/b/.gnupg |
According to my own Mandriva 2009.1, You have to make it a bit more secure so that Mandriva does not complain. It should be like this:
Code:
$ su |
Yea... I certainly left some stuff out there...
Thanks! |
Mandriva's security framework (msec) is rather particular about having secure file & directory permissions. It's good, but quite annoying as well. :P
|
wow. what can I say. Thanks.
|
gpg: WARNING: unsafe ownership on configuration file `/home/ubuntu/.gnupg/gpg.conf'
gpg: no valid OpenPGP data found. gpg: decrypt_message failed: eof this is the error i am getting regularly for only one client. please give me a solution , Thanks un advance. |
All times are GMT -5. The time now is 02:50 PM. |