| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-02-2009, 05:04 AM
|
#1
|
|
Member
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167
Rep:
|
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.
|
|
|
|
09-02-2009, 06:36 AM
|
#2
|
|
Member
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167
Original Poster
Rep:
|
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'
Last edited by widda; 09-02-2009 at 06:37 AM.
Reason: typo
|
|
|
|
09-02-2009, 09:00 AM
|
#3
|
|
Member
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456
Rep:
|
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
Then we'll figure out how to fix it.
|
|
|
|
09-04-2009, 12:26 AM
|
#4
|
|
Member
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167
Original Poster
Rep:
|
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!
|
|
|
|
09-04-2009, 12:29 AM
|
#5
|
|
Member
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Rep:
|
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
|
|
|
|
09-04-2009, 08:45 AM
|
#6
|
|
Member
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456
Rep:
|
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
Password: <your root password>
# chmod 700 /home/b/.gnupg
# chown -R b:b /home/b/.gnupg
# cd /home/b/.gnupg
# chmod 600 *
# exit
|
|
|
1 members found this post helpful.
|
09-04-2009, 08:47 AM
|
#7
|
|
Member
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Rep:
|
Yea... I certainly left some stuff out there...
Thanks!
|
|
|
|
09-04-2009, 09:19 AM
|
#8
|
|
Member
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456
Rep:
|
Mandriva's security framework (msec) is rather particular about having secure file & directory permissions. It's good, but quite annoying as well. :P
|
|
|
|
09-05-2009, 09:37 AM
|
#9
|
|
Member
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167
Original Poster
Rep:
|
wow. what can I say. Thanks.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:07 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|