[LUNI] [HELP] X Problem Since Update
Arun Khan
knura at yahoo.com
Thu Aug 9 14:31:48 CDT 2007
On Wednesday 08 August 2007 22:21, Robert Smith wrote:
> Arun, I have updated the packages in my system several times now.
> If I do what you mention above, will I run into any weird user issues
> because of current configs (after the install) not matching what is
> in the /home directory for a given user (I currently have 2 user
> accounts on my machine). One example I can think of offhand would be
> Firefox. The original install included Firefox version 2.0.0.4, and
> since installing, I've upgraded to both 2.0.0.5, and then last night
> to 2.0.0.6.
In most cases, when the application is a minor release, this should not
be a problem.
> Also, I remember when I first installed PCLinuxOS 2007, I installed
> it on a drive that had previously been home to an older version of
> SimplyMEPIS (before MEPIS became a Ubuntu derivative). I left the
> /home directory intact but had problems accessing my user account
> (yes, password was set to match the old one) after the build. I ended
> up creating a new user, copying the data files over from the old
> user's home to that of the new (as root), and then changing file
> permissions so I could access them as the new user. In the end, I
> used a USB stick drive to back up my data and then just blew away the
> entire install.
Each distro has it's own scheme for uid/gid. You need to "remap" the
uid/gid, when you preserve /home and install a different distro.
After installing the distro you could have done (as root):
# cd /home
# chown -R <username>:<groupname> ./username
where username and groupname are the newly created account and group.
-- Arun Khan
More information about the luni
mailing list