Hi all--
I am missing something obvious, but a search of the archives doesn't reveal
a solution. I'm trying to copy a directory tree from one place to another
using (as root):
cd /my/source/dir; tar cvf - .| (cd /my/dest/dir; tar xpf -)
File permissions are coming across fine, but all directories in the
destination tree are owned by root. The owner owns the "dest" directory in
the example, and can create a directory in /my/dest/dir with mkdir.
All suggestions greatly appreciated.
--Russ
Received on Mon Feb 11 2002 - 20:00:57 NZDT