Author Topic: terminal message  (Read 903 times)

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1489
  • In theory, theory=practice, in practice ???
terminal message
« on: October 19, 2010, 05:32:31 PM »
[pf@localhost /]$ su
Password:
gpg: WARNING: unsafe permissions on configuration file `/root/.gnupg/gpg.conf'
gpg: WARNING: unsafe enclosing directory permissions on configuration file `/root/.gnupg/gpg.conf'
[root@localhost /]#


Hello,

Everything was going great  till the above terminal message today after upgrades and a few other successes.
What gives ?    Having trouble getting into synaptic and pcc here.   I'm going to get this thing backedup 100% one of these days.

thx

patrick013
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Online muungwana

  • Hero Member
  • *****
  • Posts: 6252
Re: terminal message
« Reply #1 on: October 19, 2010, 05:57:29 PM »
those warnings say that file and its parent folder have wrong permissions, fix it and they will go away

what does this command as root give you?

ls -l /root/.gnupg

you will probably fix it by using this command also executed as root

chmod -R 700 /root/.gnupg
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1489
  • In theory, theory=practice, in practice ???
Re: terminal message
« Reply #2 on: October 19, 2010, 06:11:43 PM »

you will probably fix it by using this command also executed as root

chmod -R 700 /root/.gnupg



Yes, error message instantly disappeared after backing out and reentering as root.  I wish I
knew that 15 minutes ago, just restored a portable drive.  Never give permissions to a different
operating system I guess.  One or two more things to check on here.   There's a strange bootup message I need to check that it's disappeared as well.

thanks again,

patrick013




ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1489
  • In theory, theory=practice, in practice ???
Re: terminal message
« Reply #3 on: October 19, 2010, 06:25:26 PM »

Hello,

I hope you have time for one more riddle.

At login this message pops up for some reason:

"users $home/.dmrc is being ignored
prevents default session from being saved
should be user owned and require 644 permissions
not writable by other users"

That's what it says, How do I get rid of that one ?


thanks again,

patrick013

ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Online muungwana

  • Hero Member
  • *****
  • Posts: 6252
Re: terminal message
« Reply #4 on: October 19, 2010, 06:35:24 PM »

open the terminal and enter the following command and the warning should go away.

chmod 644 $HOME/.dmrc

All these warnings are permission warning. What did you do to your system? You are only aware of these two issues because somebody have complained loudly about them, what about the rest?

.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1489
  • In theory, theory=practice, in practice ???
Re: terminal message
« Reply #5 on: October 19, 2010, 06:46:28 PM »

open the terminal and enter the following command and the warning should go away.

chmod 644 $HOME/.dmrc

All these warnings are permission warning. What did you do to your system? You are only aware of these two issues because somebody have complained loudly about them, what about the rest?




Nothing at all.   The only thing odd I did the last two weeks was spy of sorts on OpenSUSE and Fedora.
I had to impose some permissions to use their distros while trying to use some files on my PCL system.
I got those files to mount via permissions but when trying to remove the permissions in PCLinux the
procedure apparently is lacking and got stuck.   I'm just on a home computer.  Let me enter this and
post back.

thx

patrick013 ;D




ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1489
  • In theory, theory=practice, in practice ???
Re: terminal message
« Reply #6 on: October 19, 2010, 07:05:00 PM »

Well the last command has no effect.  The $HOME/.dmrc is still being ignored.
Any further remedies for this ?

thx

patrick013

ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Online muungwana

  • Hero Member
  • *****
  • Posts: 6252
Re: terminal message
« Reply #7 on: October 19, 2010, 07:17:38 PM »

Try the above command with 600, thats what mine has, i said 644 above because thats what the warning said, if that doesnt work, then delete the file, log out and log back in and it should be recreated with whatever permission whoever created it wants it to have
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1489
  • In theory, theory=practice, in practice ???
Re: terminal message
« Reply #8 on: October 19, 2010, 07:51:48 PM »

OK back,

Ran the command with 600, restarted, no go.   Deleted the file, shut down, restarted, no go.
The error message still remains.  Must be a minor problem because everything else appears
to be working.  Had to modify one permission so my flash stick could read my portable HD.  Said
501 is the owner so I changed it so others could read and write.  OK readable then.  The error message
is on the flash stick, the portable is working and restored then.

I don't know.  How to perfect this install without the error message and problems ?   I don't
know.


Hmm,

patrick013

ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Online muungwana

  • Hero Member
  • *****
  • Posts: 6252
Re: terminal message
« Reply #9 on: October 19, 2010, 08:27:46 PM »

did you run the command as the user of the account that is giving you problems?

does the same error msg show up when you log in as root?

what is the output of these commands? (copy and paste it on the terminal)

ls -l /home/*/.dmrc

ls -l /root/.dmrc



.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1489
  • In theory, theory=practice, in practice ???
Re: terminal message
« Reply #10 on: October 19, 2010, 08:53:43 PM »

did you run the command as the user of the account that is giving you problems?

does the same error msg show up when you log in as root?

what is the output of these commands? (copy and paste it on the terminal)

ls -l /home/*/.dmrc

ls -l /root/.dmrc


The command runs as root only.  Says no such file, etc. if not run as root.  Yes, the same message when I login as root.

Output is :

[pf@localhost /]$ su
Password:
[root@localhost /]# ls -l /home/*/.dmrc
ls: cannot access /home/*/.dmrc: No such file or directory
[root@localhost /]# ls -l /root/.dmrc
-rw------- 1 root root 27 2010-04-13 06:10 /root/.dmrc
[root@localhost /]#


Two other things.   The message appears when booting both drives now.   The portable restore
is several weeks old and cannot have a permission problem which started today.  How could it.
Also, the flash thinks the portable /home/myaccount is owned by 501, a sambashare ID,  the portable thinks the flash drive /home/myaccount is owned by 500, my user id number, more logical.  Might not make a difference.

So here's the info from the terminal command.
 

thanks again,

patrick


ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Online muungwana

  • Hero Member
  • *****
  • Posts: 6252
Re: terminal message
« Reply #11 on: October 19, 2010, 09:15:13 PM »

what is the set up of your computer? you keep mentioning "portable" and "flash" without really explaining what they are, are they two drivers with two versions of pclinuxos? do they share the same user home directories?

You are getting the same error even when you log in as root and the permission of that file in root's account seem to correct .. odd ..
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1489
  • In theory, theory=practice, in practice ???
Re: terminal message
« Reply #12 on: October 19, 2010, 09:36:38 PM »

what is the set up of your computer? you keep mentioning "portable" and "flash" without really explaining what they are, are they two drivers with two versions of pclinuxos? do they share the same user home directories?

You are getting the same error even when you log in as root and the permission of that file in root's account seem to correct .. odd ..


I've got xp on the internal drive, xfce on a portable hard drive independently running, and a flash drive
with xfce running (for testing programs) independently.  Both the portable and flash have one partition
and /home etc. and are completely separate operating systems from each other, and at times I mount them with each other or the internal xp drive just to transfer some files I've downloaded.    They never share directories except for some file transfers. 

Odd where this came from too.  Sometimes I have a little problem mounting drives and getting
them permissions but who doesn't.


thanks for your response,

patrick013

ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Online muungwana

  • Hero Member
  • *****
  • Posts: 6252
Re: terminal message
« Reply #13 on: October 19, 2010, 11:09:09 PM »

So basically, you have two totally independent systems running xfce and they both have this problem and both started having it after a  recent update? when did you last update?

i dont use xfce and those who use and maintain it may be aware of this problem and its solution but dont look at this thread because the title doesnt mention xfce.

The problem that carried the title of this thread is solved. I think it will be best if you close this thread and open another one with a title that is clear to the problem and mention everything there is to mention there and hopefully, those who use this DE will join in an provide a solution for you.

.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline pags

  • Hero Member
  • *****
  • Posts: 2519
  • Keep it clean.
Re: terminal message
« Reply #14 on: October 20, 2010, 11:46:23 AM »
In addition to the permissions, check that the owners (and groups) for the files in questions belong to the relevant accounts (for each install...you mentioned adjusting them for SUSE and Fedora...they may need to be corrected as root).