Linux Sharing a partition between Arch & Fedora

Status
Not open for further replies.

hellknight_mnd

Contributor
Hey guys.. I have currently two distros installed, Arch & Fedora.. Here's the partitioning scheme :-
Code:
/dev/sda7 - ext2 - /boot
/dev/sda8 - ext4 - swap
/dev/sdb9 - ext4 - Arch Linux
/dev/sdb1 - ext4 - Fedora 14
/dev/sdb2 - ext4 - Multimedia

The swap partition is currently being shared between the two. Rest all the partitions are NTFS.
Now, I've added an entry of of Multimedia to fstab in the following manner :-
Code:
/dev/sdb2  /media/Multimedia  ext4  defaults  0 1

The partition gets mounted, but whenever I try to access the contents from Nautilus, it says that you're not authorized.. I've the same username (hellknight) in Arch & Fedora..

In Arch, I did
Code:
 sudo chown -Rf hellknight /media/Multimedia/XBMC

(I intend to access only the XBMC directory)
But its not working, everytime I boot in either distros, I have to issue the same command again & again..
 
Hmm, not sure, maybe a good google search will help :P

But why not just chown the /media/Multimedia top directory? I know you want to access only XMBC, but after you chown, then after that you unmount/reboot the chown property is probably getting lost.

Not sure of the right way to mount and make only a subfolder accessible...
 
Check your uid on both distros - "cat /etc/passwd | grep hellknight"

Try making uid's the same on both distros - "sudo usermod -u <uid> hellknight"
 
I chown'ed the whole partition.. it isn't helping.. maybe it has to do something with the UIDs..

--- Updated Post - Automerged ---

Yup.. it was the UID problem.. changed & matched the Fedora's UID to the one with Arch's.. everything working fine now..
 
Status
Not open for further replies.