Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Installation & Upgrades
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Installation & Upgrades
For questions about upgrading and installation of your new Ubuntu OS.

 
Thread Tools Display Modes
Old October 20th, 2008   #1
jaklumen
5 Cups of Ubuntu
 
Join Date: May 2008
Beans: 26
Ubuntu 8.10 Intrepid Ibex
Arrow Access to folders broken on upgrade

I got the $HOME/.dmrc file is being ignored error at the login screen when I upgraded to Intrepid.

I followed these instructions at this site here
(I replaced 'xx' with my username as indicated):

Code:
sudo chmod 644 /home/xx/.dmrc
sudo chown xx/home/xx/.dmrc
sudo chmod -R 700 /home/xx
sudo chown -R xx/home/xx
The first three commands worked without a hitch, but got the following error

chown: missing operand after `jaklumen/home/jaklumen'

on the fourth.

I cannot access Home folders from the "Places" menu on the taskbar, but only if I click on a mounted secondary drive on the Desktop. I'm fairly certain if I could properly execute chown on the fourth command, it would fix it, but I'm really not a coder and I don't really know how to do it.

Any help would sure be appreciated. When I was out in the Google jungle looking for solutions, so to speak, it seemed the .dmrc error was pretty common when upgrading. The Blogger post I linked to seemed to have the most complete solution, but I couldn't get it all to work.
jaklumen is offline   Reply With Quote
Old October 20th, 2008   #2
dave.com
5 Cups of Ubuntu
 
Join Date: Jul 2008
Beans: 33
Re: Access to folders broken on upgrade

Line 2 looks more like the code for your "error on line 4" syntax:

Code:
sudo chown xx/home/xx/.dmrc
I may be wrong but chown usually goes like this
Code:
# chown xxx:yyy /home/xxx
where xxx is user name and yyy is group name thus you can make user is owned by user - eg.
Code:
#chown dave:dave /home/dave
#chown dave:dave /home/dave/.dmrc
#chmod 644 /home/dave/.dmrc
Is root owned by root:
Code:
# ls -la /bin/su
This should return "# -rws-xr-x 1 root (the '1' before root indicates the number of links to this file). To set default root permissions:
Code:
#chown root:root /bin/su
#chmod 4755 /bin/su
A checklist:
Code:
#ls -l /bin/su 
#ls -l /etc/group
#ls -l /etc/passwd
If you ever need to add read and execute permissions to root (if that has changed for any reason):
Code:
#chmod a+rx /
or
#chmod 755 /
All this info used to be posted in the Gentoo archives, so visit the Gentoo site and give a thank you to some forum Mod there if you find it usefull.

Last edited by dave.com; October 20th, 2008 at 08:35 AM..
dave.com is offline   Reply With Quote
Old October 20th, 2008   #3
jaklumen
5 Cups of Ubuntu
 
Join Date: May 2008
Beans: 26
Ubuntu 8.10 Intrepid Ibex
Re: Access to folders broken on upgrade

Quote:
Originally Posted by dave.com View Post
Is root owned by root:
Code:
# ls -la /bin/su
This should return "# -rws-xr-x 1 root (the '1' before root indicates the number of links to this file).
Yes.

Quote:
To set default root permissions:
Code:
#chown root:root /bin/su
#chmod 4755 /bin/su
I get the following error message: chown: changing ownership of `/bin/su': Operation not permitted

Quote:
A checklist:
Code:
#ls -l /bin/su 
#ls -l /etc/group
#ls -l /etc/passwd
Returns
-rwsr-xr-x 1 root root 31012 2008-06-09 11:10 /bin/su
-rw-r--r-- 1 root root 1390 2008-10-18 17:25 /etc/group
-rw-r--r-- 1 root root 1932 2008-10-18 17:25 /etc/passwd

in that respective order.

Quote:
If you ever need to add read and execute permissions to root (if that has changed for any reason):
Code:
#chmod a+rx /
or
#chmod 755 /
Get the following error message:
chmod: changing permissions of `/': Operation not permitted
jaklumen is offline   Reply With Quote
Old October 23rd, 2008   #4
jaklumen
5 Cups of Ubuntu
 
Join Date: May 2008
Beans: 26
Ubuntu 8.10 Intrepid Ibex
Re: Access to folders broken on upgrade

Anyone? Still need a little more help.
jaklumen is offline   Reply With Quote
Old October 30th, 2008   #5
jaklumen
5 Cups of Ubuntu
 
Join Date: May 2008
Beans: 26
Ubuntu 8.10 Intrepid Ibex
Re: Access to folders broken on upgrade

C'mon... this really isn't exactly intuitive here.
jaklumen is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 02:14 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry