Closed jayhendren closed 8 years ago
Fixes https://github.com/chef/cookbook-omnifetch/issues/3 (and potentially https://github.com/chef/chef/issues/1660 as well).
I'm not sure this is the best approach, as it also prevents directories legitimately called "PaxHeader" from being extracted, but the only other alternative that I'm aware of is to shell out to tar, which is a whole new can of worms.
Fixes https://github.com/chef/cookbook-omnifetch/issues/3 (and potentially https://github.com/chef/chef/issues/1660 as well).
I'm not sure this is the best approach, as it also prevents directories legitimately called "PaxHeader" from being extracted, but the only other alternative that I'm aware of is to shell out to tar, which is a whole new can of worms.