On Monday 24 Mar 2003 12:07 pm, Vahur Lokk wrote:
> Hello!
>
> I have installed Mandrake 9.0. Yesterday I installed ALT Linux Junior
> (Russian Mandrake derivative) on an empty partition. Both installations
> share one /home partition.
> Problem is, if I have used ALTLinux and reboot to Mandrake, my home
> directory belongs to another user. If I use Mandrake and reboot to ALT
> Linux my home directory belongs to user 501. In both cases I have to log in
> as root first, change directory ownership and only then log in as user.
> What is the problem and how to cure it?
>
> Wahur


When files are saved in Linux the ownership of the file is saved as the UID 
number (User Identification Number) of the user. What you have done is assign 
different UID numbers in each of the two distributions. By default Mandrake 
will assign UID of 501 to the first user, then 502 etc.  Most likely AltLinux 
does the same, but if you assigned users in a different order when you 
installed, you will end up with different UID numbering.

The solution is to use kuser or Linuxconf to reassign the UID numbers (not 
userdrake) and then chown all the files in your /home.

HTH

derek


-- 
----------------------------------
www.jennings.homelinux.net

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to