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

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



Quoting Juan R. de Silva on 2011-04-21 16:36:
> 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?

See find(1) and chown(1). If you prefer info documents, the {core,find}utils
files will be of much use.

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0     .
( ) ICQ 43190205 | Mail/Jabber/Yahoo/MSN: BrianLRyans@gmail.com      ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ Modern man has an approximately 140-character attention span. -- blr

Attachment: signature.asc
Description: Digital signature


Reply to: