Re: copying files from home directory on one machine to directory on another machine
On Sat, Nov 28, 2009 at 09:42:23PM +0200, Alexander Kaphuk wrote:
> G'day,
>
> I'd appreciate somebody pointing me where to look for info on how to
> copy files from a home directory on one machine to a directory on
> another machine via network.
>
> I've got about 100GB of data I need to copy from my desktop running
> ubuntu 9.04 on to a laptop running Debian Squeeze which are both at my
> home.
>
You'll have to address the ownership on those files. If you're only
copying your own files, rsync will handle this for you. If you're
copying many users' files as root, they will be assigned ownership based
on the UID number. This will cause a problem under these circumstances:
Computer 1:
user1 UID=1000
user2 UID=1001
Computer 2:
user1 UID=1001
user2 UID=1002
If you transfer files from Computer 1 to Computer 2, user1's files will
end up being owned by no one when they get to Computer 2, and user2's
files will end up being owned by user1 when they get to Computer 2.
-Rob
Reply to: