Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 6665 - tar fails to properly parse exclude patterns...
tar fails to properly parse exclude patterns...
Product: Red Hat Linux
Classification: Retired
Component: tar (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Depends On:
  Show dependency treegraph
Reported: 1999-11-02 17:28 EST by bmacy
Modified: 2008-05-01 11:37 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-01-18 06:14:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description bmacy 1999-11-02 17:28:06 EST
Assuming a /usr/local/src tree exists try:
tar -cvpf fred.tar --exclude='*/src/*' /usr/local

It still archives /usr/local/src. Same occurs if you use
'-X' flag and refer to a file with the pattern in it.

Excluding /usr/local/src/* does work. This is a change from
RedHat versions 5.0, 5.1, 5.2, and 6.0 and appears to be a
Comment 1 Preston Brown 2000-01-13 22:43:59 EST
bero, I can verify this, even with tar-1.13.17-1.  Shall we downgrade?
Comment 2 Bernhard Rosenkraenzer 2000-01-18 06:14:59 EST
I've passed the bug on to bugs-tar@gnu.org - hope they get it fixed for 1.13.18
in time. I don't really want to downgrade because that would get back some bugs
that were fixed in between.
Comment 3 Bernhard Rosenkraenzer 2000-07-17 11:34:03 EDT
The tar maintainers claim it's not a bug, but a feature (better POSIX

Note You need to log in before you can comment on or make changes to this bug.