You are not logged in.
Hey guys.. I have currently two distros installed, Arch & Fedora.. Here's the partitioning scheme :-
/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 :-
/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
sudo chown -Rf hellknight /media/Multimedia/XBMC
(I intend to access only the XBMC directory)
Last edited by tarun.hellknight (2011-02-13 08:00:49)
Offline
Same username doesn't matter, check what your UID is on both distros.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Yes. Only the user AND group ids are relevant here.
Note that you must reassign the permissions of your files after changing your uid/gid.
Offline
Ok.. Changing the UID will have any negative aspects on my user account?
Offline
Here's the output of id hellknight command
uid=1000(hellknight) gid=1000(hellknight) groups=1000(hellknight),10(wheel),91(video),92(audio),93(optical),95(storage),98(power),100(users),108(vboxusers)
This is on Arch.. Now, what should I do to change the UID in Fedora? Change the /etc/shadow file?
Offline
No. If your desired fedora user doesn't have the corresponding uid 1000 and gid 1000 you have to change it, and afterwards also change the ownership of his files (e.g. the whole /home). Look for the commands "usermod" and "chown".
Offline
Alternativeley you could create a "share" group on both distros with same GID, add them to the users on both, and change group permissions on Multimedia
Last edited by wudu (2011-02-12 16:42:14)
Offline
Solved it!! The UID was different on both distros.. Also, I created a group name multimedia on both distros with the GID of 5001 & added hellknight to it
usermod -u 1000 hellknight
This did the trick.. Thanks everyone..
Offline