permissions

NoOp glgxg at sbcglobal.net
Sat Sep 6 01:58:24 UTC 2008


On 09/05/2008 02:58 PM, Doug Pollard wrote:
> Gettig this error message on after log in
> Users home $
> user$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.Users$Home directory must be owned by user writeble 
> by other users.
> 
> 
> I have moved files from and external usb drive they are files saved by 
> windows  I want to store them in my user home  drive.  I then want to 
> reformat and partition  the usb drive and move clips back into it again 
> so that I can work and use video clips in it to be used in Cinelerra.
>     What I really need is the comands to change the permissions in user 
> home.  If this doesn't make sense I will try to rewrite for more clarity.
>                         
> This below I think is what I need to change ??
> 
> lrwxrwxrwx  1 foo foo    1 2008-09-05 12:04 ubuntu -> .
>                 Thanks Doug
> 
> 

This is pretty common & will happen again at some time or another. So
here are a couple of things to do:

1. Google for Ubuntu +dmrc permissions
<http://www.google.com/search?hl=en&q=ubuntu+%2Bdmrc+permissions>
There you will find all sorts of links with other folks having similar
issues. Then if you have problems, post to the Ubuntu users list and ask
how to fix it.

Point being here is that generally doing a search first will find a
quick answer. Sometimes not & the 'answers' can be confusing, but have a
look first before posting and asking others for help. Then if you can't
figure it out ask on the list. Note: I'm not stating this to discourage
anyone from posting or asking questions on the list, I'm just trying to
get you in the habit of searching first (including on launchpad,
https://help.ubuntu.com/, https://help.ubuntu.com/community/,
https://wiki.ubuntu.com/ etc) first; you'll learn more in the long run
by doing that first.

2. Fix it.

>From Nautilus:
- Right-click the .dmrc in your Home Folder (be sure to turn on show
hidden files by using Ctrl-H or Edit|Preferences) and click on the
Permissions tab. Change the Owner Access to Read and Write, Group to you
and it's Access to 'None', Others/Access: None, and make sure the
Execute box is unticked. If the file is owned by Root (it shouldn't be)
you can use Alt-F2: gksu nautilus and then work your way to /home/<user>
and change it there. As always *use caution* when using 'gksu nautilus'
as it puts nautilus in the root mode and you can destroy your system if
you muck about deleting and/or changing things you shouldn't.

>From the terminal:

cd ~
ls -l .dmrc

- make sure the file is owned by you; this should look like:
~$ ls -l .dmrc
-rw------- 1 <user> <user> 67 2008-09-05 12:05 .dmrc
[where <user> is you. Don't worry about the -rw as it will be different;
that is why you are having problems]
Assuming the owner is you <user> now issue the following:

chmod 644 .dmrc
chmod 700 ~

Log out of your entire Ubuntu session and log back in and you should be
fine. The output of 'ls -l .dmrc' should then look the same as above.

3. Find out what the heck the dmrc file is... I'll let you
Google/Yahoo/search on that one. After you find out, report back :-) On
second thought, just have a look at:
http://phpxref.org/docs/debian/ch08.en.html
hint: if in a terminal you look at 'cat ~/.dmrc you will most likely
find an output similar to this:

$ cat ~/.dmrc

[Desktop]
Session=gnome
Lanugage=en_US.UTF-8
Language=en_US.UTF-8





More information about the ubuntu-users mailing list