chef / cookbook-omnifetch

Fetch Chef Cookbooks from Various Sources to a Local Cache
Apache License 2.0
6 stars 9 forks source link

prevent Minitar from incorrectly creating PaxHeader directories when handling archives created with BSD tar #4

Closed jayhendren closed 8 years ago

jayhendren commented 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.