Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2003 19:16:13 -0400
From:      Jim Brown <jpb@sixshooter.v6.thrupoint.net>
To:        doc@FreeBSD.org
Subject:   Re: problem extracting handbook
Message-ID:  <20030425231613.GB69165@sixshooter.v6.thrupoint.net>
In-Reply-To: <3EA9A9D3.2010201@boks.com>
References:  <3EA9A9D3.2010201@boks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Ewout Boks <ewout@boks.com> [2003-04-25 17:30]:
> Hi,
> 
> I tried to re-new the handbook I have on my system and dowloaded the 
> tar.gz split handbook from the site. It gave me a lot of tar errors. The 
> same happened when I attempted the FreeBSD package variant of the handbook:
> 
> tar: 
> local/1/var/tmp/doc-build/build/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books
> /handbook/vinum/vinum-mirrored-vol.png: Member name contains `..'
> 
> 
> [ .... snip .... ]
> 
> tar: 
> local/1/var/tmp/doc-build/build/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books
> /handbook/vinum/vinum-raid10-vol.png: Member name contains `..'
> tar: 
> local/1/var/tmp/doc-build/build/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books
> /handbook/vinum/vinum-raid5-org.png: Member name contains `..'
> tar: 
> local/1/var/tmp/doc-build/build/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books
> /handbook/vinum/vinum-simple-vol.png: Member name contains `..'
> tar: 
> local/1/var/tmp/doc-build/build/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books
> /handbook/vinum/vinum-striped-vol.png: Member name contains `..'
> tar: 
> local/1/var/tmp/doc-build/build/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books
> /handbook/vinum/vinum-striped.png: Member name contains `..'
> tar: Error exit delayed from previous errors
> pkg_add: tar extract of 
> /usr3/tmp/handbook.en_US.ISO8859-1.html-split.tgz failed!
> pkg_add: unable to extract 
> '/usr3/tmp/handbook.en_US.ISO8859-1.html-split.tgz'!
> 
> I have no clue what this is, supposedly building the tar you used 
> symlinks or so?
> 
> Best regards and thanks for the great work you put into the handbook 
> (beside this little glitch)
> 
> Ewout Boks
> the Netherlands
> 
> _______________________________________________
> freebsd-doc@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-doc
> To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"
> 

Hi-

tar xvzf book.html-split.tar.gz 

will extract the files (in the current directory).   As you noted, it does indicate
'..' was found in the path.  This is a "protection" against overwriting
file and directories higher than the path where tar was invoked.

It does exit with error 2.  However the files will be there.

Don't use pkg_add.  Just untar with the above command.

A better solution is to use cvsup.  The handbook contains instructions for
keeping your documenation tree (including the handbook) up to date
with cvsup.


Best Regards,
jpb
===




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030425231613.GB69165>