On Thu, Jun 09, 2016 at 16:54:02 +0200, Christian Ehrhardt wrote: > I found and reported the issue in Ubuntu, but no one but me cares so far: > https://bugs.launchpad.net/debian/+source/tar/+bug/1588690 > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826195 > > TL;DR: > 1.28 working > 1.29 Failing > > So I tried upstream tar from https://www.gnu.org/software/tar/ > > ./configure > make -j4 > rm -rf dir; mkdir -p dir/subdir; touch dir/subdir/file; ./src/tar -c -f > /tmp/test.tar -C dir subdir --exclude subdir/file; ./src/tar -tf > /tmp/test.tar subdir/file
This looks like the issue that was discussed on this list recently under the subject line "tar 1.29 bug: tar ignores --exclude option" (and also Debian bug#824902). See, for example: http://lists.gnu.org/archive/html/bug-tar/2016-05/msg00022.html https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824902 Nathan ---------------------------------------------------------------------------- Nathan Stratton Treadway - natha...@ontko.com - Mid-Atlantic region Ray Ontko & Co. - Software consulting services - http://www.ontko.com/ GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239 Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239