[techtalk] tar hell, help!
Andrew Wendt
awendt at putergeek.com
Sat Aug 4 16:02:30 EST 2001
On August 4, 2001 13:04, bsweeney at physics.ucsb.edu wrote:
> The problem here is that though tar kept the permissions and file
> ownerships for the mail directories and sub directories, it DID NOT keep
> them for the preceeding directories (i.e., USERDIRS or SUBDIRS). I'm
> guessing that that's because it was told to archive the maildirectories,
> and is only creating the paths itself, so it creates them as whoever the
> user executing the tar extraction is.
>
> This, however, doesn't help me. I've got 300+ USERDIRS, and can't
> (obviously) chown them all by hand afterwords.
Could you make another archive first, with "find . -type d" to grab the whole
directory structure, and then untar the files into that?
TTFN
Andy
More information about the Techtalk
mailing list