LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-19-2004, 02:35 PM   #1
repeater75
Member
 
Registered: Jan 2004
Location: Laguna Niguel, CA
Distribution: Mandrake 10 Official
Posts: 52

Rep: Reputation: 15
Question Installed newer mandrake, but /home directory doesn't have write access anymore?!?


Ok, team...
I'm not a total noob here...my problem is as follows:
I had been running Mandrake 9.2, then decided I wanted to check out kernel 2.6 and especially kde 3.2, so I went for Mandrake 10 beta2. I was doing okay for the most part, except for havind problems with my mouse driver not wanting to give me scroll wheel functionality (using the Logitech Mouseman+ PS2 driver - that's excactly what I have) and that my SB Audigy card, although the ALSA driver loaded for it on boot was somehow not getting along with ARTS or something and I have had lots of sound problems. Vectordrake helped me get my sound running over in the Hardware forum.

So, along comes Mandrake 10 rc1, and I decide to upgrade, as I am contributing to development by identifying my issues through bugzilla, etc.

On my setup, my /home directory is its own partition of about 35gb and pretty much everything else is mounted under / on its own 35gb or so partition. I have two directories under /home, one for myself and one for my wife. so I have /home/nick and /home/lisa.

Now, the problem is that I formatted my / partition and installed rc1 and now when I boot and login to my KDE session, the /home/nick and all of its subfolders and files are read-only even though the permissions don't seem to be set that way when checked. I've even tried to chmod 666 or chmod 777 on the /home folder with no luck at all. This is frustrating for obvious reasons, if you want to save a document or edit a document stored there, you cannot save your changes! Problems abound.

I can't help but think there has to be a simple fix for this, but the obvious one to me (chmod as root) didn't help.

Anyone experience this upon upgrading your distro? I'm sure its possible this can happen with other distros as well.

(PS > I first attempted and "upgrade" install from beta 2 to rc 1 and that froze while copying files from the cd's, thus forcing me to wipe / clean and start with a fresh install)
 
Old 02-19-2004, 03:13 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I would assume that your new installation has left you with different uid and gid numbers for your users... as root try ls -l /home if the owners of the directories show up as numebrs, e.g. "501" or "1001" then that'll be the case. you can use usermod as root to set your current uid's to match those numbers "usermod -u 501 -g 501 nick" when you next log in (u = user id, g = group id), you should be able to get access. can't think of anythign else that would be causing this.
 
Old 02-19-2004, 08:48 PM   #3
repeater75
Member
 
Registered: Jan 2004
Location: Laguna Niguel, CA
Distribution: Mandrake 10 Official
Posts: 52

Original Poster
Rep: Reputation: 15
hmmm... that makes sense for the most part...

[root@localhost nick]# ls -l /home
total 8
drwxr-xr-x 21 lisa lisa 4096 Feb 19 12:21 lisa/
drwxr-xr-x 57 nick nick 4096 Feb 19 18:44 nick/

That's what I got when I ran it. I didn't change the names of the users and the desktop preferences such as custom backgrounds and app launchers in the KDE panel are as they were before, so it seems the associations are there at some level. What is the significance of the numbers in the results I got? The 21 and 57 mean something, what about the 4096?

When I go to the Mandrake User Administration tool, it shows nick as user id 502 and lisa as user id 500. neither of those match any numbers from that ls command.

What do you make of all that?
 
  


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
can't write to home directory error bond82 Mandriva 5 06-06-2007 02:11 PM
installed new kernal - now my /home directory is empty ! websinger Debian 6 05-07-2005 08:06 PM
Could not write to my home directory comprookie2000 Linux - Newbie 19 05-11-2004 08:36 PM
"No write access to $HOME directory" Arthaus Linux - Newbie 2 01-12-2004 07:22 PM
Permitting a user to write to another users home directory rddreamz Linux - Newbie 4 11-19-2003 01:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:10 AM.

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