Bug 8631 - tar exclude file not honored correctly
Summary: tar exclude file not honored correctly
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.24.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-23 16:16 UTC by Andy
Modified: 2016-01-23 16:16 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy 2016-01-23 16:16:38 UTC
tar tries to process files even if in -X exclude-file.list. The same command with GNU tar executes without error.

$ cat /opt/.filetool.lst 
opt
home

$ cat /opt/.xfiletool.lst 
home/tc/hgfs

$ sudo /bin/tar -C / -X /opt/.xfiletool.lst -T /opt/.filetool.lst -czf /mnt/sda1/tar-test.tgz
tar: home/tc/hgfs: Permission denied
tar: error exit delayed from previous errors