[wplug] tar error

Eric C. Cooper ecc at cmu.edu
Tue May 6 18:32:07 EDT 2003


On Tue, May 06, 2003 at 04:49:29PM -0400, Henry Umansky wrote:
> I made a mistake when I tarred up a directory, I added the '..' before
> the directory name.  Now when I try to untar it, I get the following
> error (I only showed the last 10 or so lines, similar error different
> filename):
> [...]
> ../etc/ssh_random_seed
> tar: ../etc/ssh_random_seed: Member name contains `..'
> ../etc/group.lock
> tar: ../etc/group.lock: Member name contains `..'
> tar: Error exit delayed from previous errors
> [henry at localhost tmp]$ 
> 
> How would I fix this problem???

Use the -P option to tar ("tar Pxvf foo.tar").

-- 
Eric C. Cooper          e c c @ c m u . e d u



More information about the wplug mailing list