LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-08-2006, 06:58 PM   #1
supersucker
Member
 
Registered: Jul 2004
Location: Berlin
Distribution: fedora 3
Posts: 79

Rep: Reputation: 15
strange error from the .dmrc-file


hi,

everytime i log in my system, i get the message:

Code:
the file .dmrc in your home-directory has incorrect permissions.
file .dmrc should be owned by the user who logs in and should have 644 as permissions
but a

Code:
ls -al /home/jollyroger
says

Code:
-rw-r--r--   1 jollyroger jollyroger    26 2006-01-27 18:35 .dmrc
so what? i dont get, the owner is the user who logs in, i.e. jollyroger and the permissions are
-rw-r--r-- which is 644, isnt it?
i still can log on to the system, but the error message every time is getting on my nerves....

does anybody know how to solve that problem?

thx in advance

ps:
sys: ubuntu breezy, using gnome
 
Old 02-08-2006, 08:52 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,309

Rep: Reputation: 139Reputation: 139
Mine is 600, i.e. owner has rw, everyone else has nothing. Try changing the permissions to 600:

$ chmod 600 .dmrc
 
Old 04-06-2006, 08:03 PM   #3
d_GeNeRiT
LQ Newbie
 
Registered: May 2004
Location: Miami, FL
Distribution: Fedora Core 5
Posts: 28

Rep: Reputation: 15
Ok, I figured it out.

First I went to Taskbar menu on the Desktop and chose System > Administration > Users and Groups

I then entered my root pw when prompted to do so

I clicked ADD USER button on the top.... I filled in the first 4 fields and left everything else with the default settings. The new user I created was "Bozo".

Now I logged out and logged back in as the new user name that I created. I then used Nautilus to navigate to the path: /home/. I right clicked on the folder named Bozo and chose Properties. I went to the tab named Permissions. I made no changes here, I just made a note of the settings. On the part that said Owner all 3 checkboxes where ticked and no checkboxes where ticked under Group or Others.

Then I logged out of the Bozo session and logged back in as the username with the screwed up .dmrc error. The error was still there of course since I hadnt changed anything. I then navigated to /home/ and right clicked on the folder with the name of screwedupuser and chose properties. Then I ticked the same checkboxes that I made a note of in Bozo before. I then logged out and logged back in and the error is gone.

Let me make some suggestions to the rest: Dont modify the permission on your entire home directory like I did. Not only will it make your system very unsecure but it will throw up errors as u can see. Rather, what I did was create subfolders inside of /home/username called downloads, music, movies, mydocs, extracted, warez and so on. And on those subfolders I just chmod 777 -R on them so I dont get anymore pesky errors about I dont have permissions to overwrite this or that.

Hope this helps someone!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange wtmp file ldp Linux - General 7 07-31-2005 04:24 PM
strange file creation problem dizzutch Programming 1 10-06-2004 05:30 PM
strange file azi Linux - Security 3 07-13-2004 07:34 AM
need help removing strange file... asc3ndant Linux - General 3 08-20-2003 03:45 AM
Strange Log File Virtus Linux - General 2 02-17-2003 05:08 AM


All times are GMT -5. The time now is 09:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration