[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: uid & gid problem restoring ubuntu made backup to new squeeze install



On Thu, 21 Apr 2011 21:36:55 +0000 (UTC), Juan wrote in message 
<[🔎] ioq81m$v83$1@dough.gmane.org>:

> I'm in the process of moving from Ubuntu to Debian. I've installed 
> squeeze and want to restore some of 2 users home files and
> directories from a backup made in Ubuntu. There are also some files
> from /etc needed to be restored.
> 
> I preserved the user names for both of users in a new squeeze 
> installation but UID and GID are different. So, by simply using 'cp -
> a' (or rsync) I would run into problem of their mismatch.
> 
> Is there a simple and quick way to resolve it or I'll have to go
> trough this mess manually one step at a time?
> 
> I know I could change UID and GID in Debian to Ubuntu values but I am 
> quite reluctant to go this way.

..read output of 'chown --help '. ;o)

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


Reply to: