[BusyBox] tar include/exclude interaction broken

Glenn McGrath bug1 at optushome.com.au
Sat Oct 13 01:46:31 UTC 2001


On Fri, 12 Oct 2001 13:13:05 -0600
Matt Kraai <kraai at alumni.carnegiemellon.edu> wrote:

> Howdy,
> 
> I've found a tar regression caused by the recent rewrite.  If an
> archive contains
> 
> foo/
> foo/bar
> 
> and the user asks for foo to be extracted, but not foo/bar,
> BusyBox tar extracts neither.  I've included a test case which
> demonstrates this in my latest test suite[1].  Could you please
> fix this?
> 
> Matt
> 
> 1. http://busybox.net/~kraai/testsuite-0.1.9.tar.gz
> 
> 

I dont know how to fix this, maybe we need to keep seperate include and
exclude lists all the way into unarchive() which would be a pain... plus i
dont how to best handle the exclude list entries being applied recursively
to an included directory name.

Anyone else have any ideas ?


Glenn 





More information about the busybox mailing list