From: Russ_Fish () idx ! com
To: tru64-unix-managers
Subject: tar directory tree -- permissions wrong
Date: Mon, 11 Feb 2002 20:00:25 +0000 [thread overview]
Message-ID: <102653731622188.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~2002-02-11 20:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox