Subject: Re: tar ignores filenames that contain `..'
To: Shin'ichiro TAYA <taya@ba2.so-net.ne.jp>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 10/23/2002 09:25:03
On Wed, 23 Oct 2002, Shin'ichiro TAYA wrote:
> After switching to pax based tar, tar ignores filenames that contain `..'.
> But some distfile for pkgsrc contains symlinks that points to file
> contain '..' then failes to extract.
> e.g.
>
> => Checksum OK for STLport-4.0.tar.gz.
> ===> Extracting for stlport-4.0nb2
> ===> Required installed package gmake>=3.78: gmake-3.79.1nb1 found
> ===> Required installed package libtool-base>=1.4.20010614nb9: libtool-base-1.4.20010614nb9 found
> tar: Ignoring link containing `..' (../algorithm)
> tar: Ignoring link containing `..' (../bitset)
> tar: Ignoring link containing `..' (../cassert)
>
> How should we fix this?
> fix pkgsrc and related things? or /bin/tar ?
This "pax" bug^H^H^Hfeature also breaks binary packages (PR bin/18759).
It needs to be fixed in "pax".
Frederick