tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* tar directory tree -- permissions wrong
@ 2002-02-11 20:00 Russ_Fish
  0 siblings, 0 replies; only message in thread
From: Russ_Fish @ 2002-02-11 20:00 UTC (permalink / raw)
  To: tru64-unix-managers


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-02-11 20:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-11 20:00 tar directory tree -- permissions wrong Russ_Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox