Re: [SLUG] Copy over network maintaining owner group etc

2003-12-14 Thread Patrick Lesslie
On Fri, Dec 12, 2003 at 02:31:40PM +1100, John Clarke wrote: On Fri, Dec 12, 2003 at 03:25:49PM +1100, Peter Vogel wrote: I used scp -pr but all the files end up being owned by root. I thought -p will preserve everything. But the man page on my RH8 installation does not say it does.

Re: [SLUG] Copy over network maintaining owner group etc

2003-12-14 Thread John Clarke
On Mon, Dec 15, 2003 at 12:32:29AM +1100, Patrick Lesslie wrote: You can also use tar. AFAIK you can choose (in tar at least) to preserve names instead of uids/gids, which might work better if the uids/gids aren't synchronised between the machines. GNU tar uses user/group names by default,

Re: [SLUG] Copy over network maintaining owner group etc

2003-12-11 Thread John Clarke
On Fri, Dec 12, 2003 at 03:25:49PM +1100, Peter Vogel wrote: I used scp -pr but all the files end up being owned by root. I thought -p will preserve everything. But the man page on my RH8 installation does not say it does. Is this a version problem? -p Preserves modification