JoeHill wrote:
On Wed, 22 Nov 2006 08:33:26 +0100
Ralph Utbult got an infinite number of monkeys to type out:
Sorry, I'm no easy guy ;-)
The two machines are identical, remember? Ghosted one from the other.
Don't think it's a good idea to bring them both online on the same
network...
When I want to transfer files with multiple permissions I use tar with
the -p
option as root which preserves file information like ownership. So just
simply
su
tar -cpvf MYTARFILE.tar /home
tar -tvf MYTARFILE.tar (just to check it looks ok)
on your ghost (in the) machine, and transfer the file to the non ghost
machine
Then do on the non-ghost machine
su (again)
tar -xpvf MYTARFILE.tar -C /
to overwrite the /home directory with the new one. I haven't had any
permissions
problems doing it this way before (that I can recall :-) )
Neill
Send instant messages to your online friends http://uk.messenger.yahoo.com
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________