[BLUG] scp -p preserving ownership through root user

Beartooth karhunhammas at Lserv.com
Wed Jul 2 16:59:29 EDT 2008


On Wed, 2 Jul 2008, Brian Wheeler wrote:

> ...  Gnu tar does a pretty good job of getting it right, but 
> there are still surprises lurking for the unwary.

 	Here's one more. Before any fresh install, I used to do 
tar -xvzf on /home/user, then scp -r the tarball to another 
machine, then scp -r back after the install. But all sorts of 
oddments got messed up; I found out eventually that tar -xvzf 
doesn't follow symlinks.

 	There's another switch for that, I disremember which. 
Instead of learning it, I got lazy, and just took to using some 
third machine while scp took up the bandwidth -- this on a mere 
home LAN, of course.

-- 
Beartooth Staffwright, Not Quite Clueless Power User
Fedora 8 & 9; Alpine 1.10, Pan 0.132; Privoxy 3.0.6;
Dillo 0.8, Epiphany 2, Firefox 2 & 3, Galeon 2, Opera 9
Remember I know little (precious little!) of where up is.



More information about the BLUG mailing list