Networking Forums

Networking Forums > Computer Networking > Linux Networking > Copy files with permissions across machines?

Reply
Thread Tools Display Modes

Copy files with permissions across machines?

 
 
joltman
Guest
Posts: n/a

 
      04-07-2005, 03:57 PM
We are working on migrating our web/e-mail server from a red hat 9 box
to a mandrake 10.1 box. Is there a way we can copy files over while
keeping the permissions/owners on the files? If so, I assume the users
on the new box will have to have the same username and uid of the users
from the old box?
thanx
-joltman

 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      04-07-2005, 04:06 PM
On 7 Apr 2005 08:57:40 -0700, joltman wrote:
> We are working on migrating our web/e-mail server from a red hat 9 box
> to a mandrake 10.1 box. Is there a way we can copy files over while
> keeping the permissions/owners on the files? If so, I assume the users
> on the new box will have to have the same username and uid of the users
> from the old box?


We all know what happens when we assume.

It will depend on the fact that you copied their values from RH /etc
passwd/group/shadow into those files on MD before moving files.

Do not _just copy_ those /etc files. Add to the MD files.
Also check if RH users are in system groups (example audio,...).
 
Reply With Quote
 
=?ISO-8859-2?Q?Filip_Rembia=B3kowski?=
Guest
Posts: n/a

 
      04-07-2005, 11:20 PM
Dnia 04/07/05 17:57, joltman napisa³:
> We are working on migrating our web/e-mail server from a red hat 9 box
> to a mandrake 10.1 box. Is there a way we can copy files over while
> keeping the permissions/owners on the files?


use rsync over ssh, eg.
rsync -a /home/ root@otherhost:/home/


--
"Would it be all right if I peeled an orange?"
 
Reply With Quote
 
 
 
Reply

« dhcp douts | dhcp »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy files using filenames from text files with shell script or bash script altariamx2003@gmail.com Linux Networking 4 11-23-2006 08:27 AM
When I copy large files, I met IO ERROR tech11 Linux Networking 3 10-17-2006 01:50 AM
copy files Max Wireless Networks 1 01-17-2006 03:30 PM
Can no longer copy files from one pc to another Pam Windows Networking 1 03-17-2005 04:13 AM
Copy files from old computer to new? So'n'so Windows Networking 7 12-11-2003 12:52 AM



1 2 3 4 5 6 7 8 9 10 11