LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-08-2007, 09:41 AM   #1
mattjohnstone22
Member
 
Registered: Jan 2007
Posts: 65

Rep: Reputation: 15
Folder Permissions Problem, I think!??!


Hi all,

I am using openSuse 10.2 and am having some error message appear on start-up. It reads as follows:

"User's $HOME/.dmrc file is being ignored. This prevents the default session and language from being saved. File should be owned by user and have 644 permissions. User's $HOME directory must be owned by user and not writable by other users."


The comp still works fine after clicking OK button, but I am worried their may be some security issue, or other things that effect the way I use it.

The only thing I can recall is I was playing about with the Wine directory (to make it not hidden), and didn't succeed, but this directory only,no others. I'm still kinda new to linux!

Any help appreciated guys, thanks.
 
Old 03-08-2007, 09:47 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Try doing
Code:
$chmod 755 /home/YOUR_USERNAME
$chmod 644 ~/.dmrc
 
Old 03-08-2007, 10:47 AM   #3
mattjohnstone22
Member
 
Registered: Jan 2007
Posts: 65

Original Poster
Rep: Reputation: 15
Thanks for reply,

When i go to the terminal and type those commands in, all i get is the following:

$chmod 755 /home/matt
bash: 755: command not found

$chmod 644 ~/.dmrc
bash: 644: command not found


Any other suggestions?
 
Old 03-08-2007, 10:51 AM   #4
mattjohnstone22
Member
 
Registered: Jan 2007
Posts: 65

Original Poster
Rep: Reputation: 15
Sorry my fault !!!

was typing in the dollar signs too lol! like say, kinda new to this especially terminal!

That worked a treat, thanks very much.

I don't suppose you could tell me what it did exactly though?
 
Old 03-09-2007, 12:32 AM   #5
live_dont_exist
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257

Rep: Reputation: 30
This changed the permissions of your home directory and the .dmrc file which were possibly owned by root to yourself. Once you've done that the login processes can read and write files into your home directory.

If the directory is not owned by you Linux will not be able to read or write in that directory. For exact information of the command I suggest you do a man chmod in a terminal on our system.

Cheers
Arvind
 
Old 03-10-2007, 03:36 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
to understand whats going on in greater detail, read up on Linux/Unix permissions (as well as chmod as suggested above). This article may help you out.
 
Old 03-10-2007, 07:10 AM   #7
mattjohnstone22
Member
 
Registered: Jan 2007
Posts: 65

Original Poster
Rep: Reputation: 15
Thanks guys, will read into it.

This is quite a jump from Windows lol... getting there tho.

cheers,

matt.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
Folder permissions problem with Samba albracco Linux - Networking 4 08-24-2004 10:09 PM
samba folder permissions problem albracco Linux - Software 4 07-02-2004 07:01 PM
Folder permissions help Seventh Linux - Newbie 2 04-22-2004 05:56 PM
Folder permissions fatboyjim Linux - Newbie 12 06-05-2002 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:22 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration