LinuxQuestions.org
Visit Jeremy's Blog.
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 08-17-2005, 02:53 PM   #1
jaristr
Member
 
Registered: Aug 2005
Distribution: Debian and slackware based
Posts: 119

Rep: Reputation: 15
Same /home mount point for two distros?


Hi.
I would like use (read/write) all the files in mandrake /home folder (which is in it's own partition) from kubuntu and the other way around.
I have already installed mandrake and kubuntu so that they both use the same partition for /home's mount point, but I can only access the other distros user folder as root, because of the user permission.

What is the proper way to do this? Is it even possible?

Thanks.
 
Old 08-17-2005, 03:12 PM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Location: /illinois/chicago
Distribution: Slackware/Gentoo/FC/RHEL
Posts: 568

Rep: Reputation: 30
How are you mounting it? Manually, or with fstab?

If you use fstab, change the "defaults" to "user" - and the 0 0 to 1 2.

If you are using mount, in rc.local for example - change it to:

mount /dev/hd? /home -o umask=0000
 
Old 08-17-2005, 03:14 PM   #3
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Are you using the exact same username on both systems? That could be the problem. In general, while convenient in some ways, I've found sharing a /home folder to be a big pain in the... It's better to just copy over a couple of configuration files from one /home to another /home.
 
Old 08-17-2005, 04:01 PM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
Check your /etc/password file - you need to have the same user number, not the same user name. It's the first number after your name, commonly starting at 1000
 
Old 08-18-2005, 12:27 PM   #5
jaristr
Member
 
Registered: Aug 2005
Distribution: Debian and slackware based
Posts: 119

Original Poster
Rep: Reputation: 15
Ok it works now after I did like oneandoneis2 said.

I just edited mandrake's passwd file and set the user id and group from 501 to 1001 which is what kubuntu uses for my user account. I also had to edit the group file and change 501 to 1001 from my user's group.
After this I set the home/user files owner and group to 1001 using chown since this was 501 which mandrake had set.

Thank you all for helping!

PS. Jesus loves you.

Last edited by jaristr; 08-18-2005 at 12:29 PM.
 
  


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
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 11:03 AM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 06:02 PM
FreeBSD /home mount point question Ahmed *BSD 5 11-07-2005 09:58 PM
Multiple mount --bind's to 1 mount point ? Etraman Slackware 6 12-23-2004 08:18 PM
mapping home directories to different mount point jjohnston62 Linux - General 5 11-05-2003 05:42 PM


All times are GMT -5. The time now is 02:30 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration