Public bug reported:
I'm using Ubuntu 13.10 dev with tar 1.26+dfsg-8 and on excluding files
they could get included multiple times. Here is an example:
sworddragon@ubuntu:~$ mkdir /tmp/test
sworddragon@ubuntu:~$ cd /tmp/test
sworddragon@ubuntu:/tmp/test$ mkdir dir
sworddragon@ubuntu:/tmp/test$ echo 0 > dir/test1.txt
sworddragon@ubuntu:/tmp/test$ echo 0 > dir/test2.txt
sworddragon@ubuntu:/tmp/test$ tar --exclude \./dir/*\.txt -Jcf test.txz .
sworddragon@ubuntu:/tmp/test$ tar -xJvf test.txz
./dir/test2.txt
./
./dir/
./dir/test2.txt
./test.txz
./dir/test2.txt should not be included. Also it got included 2 times which will
be an invalid index.
** Affects: tar (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1225790
Title:
--exclude can create an invalid index
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tar/+bug/1225790/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs