problem extracting handbook

Jim Brown jpb at sixshooter.v6.thrupoint.net
Fri Apr 25 23:16:15 UTC 2003


* Ewout Boks <ewout at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-doc
> To unsubscribe, send any mail to "freebsd-doc-unsubscribe at 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
===




More information about the freebsd-doc mailing list