Michael L. Squires
2006-Feb-26 07:22 UTC
6.1-PR - bsdtar fails with bogus modification dates
Problem: Bogus modification dates cause tar/bsdtar 1.02.023 failure, gnutar works The files were created from old Macintosh files using netatalk. One file has a bogus modification date of Nov 16, 1913, which appears to cause "bsdtar" to fail: newserv# tar cvf /tmp/test.tar hpLaserJet456Installer.gz hpLaserJet456Installer.sit.gz a hpLaserJet456Installer.gzarchive_write_pax_header: 'x' header failed?! This can't happen. Create a tar archive using gnutar (compiled from GNU tar 1.15 sources from ftp.gnu.org): newserv# gnutar cvf /tmp/test.tar hpLaserJet456Installer.gz hpLaserJet456Installer.sit.gz hpLaserJet456Installer.gz hpLaserJet456Installer.sit.gz "touch" the files and force the modification dates to 2/26/2006: newserv# tar cvf /tmp/test.tar hpL* a hpLaserJet456Installer.gz a hpLaserJet456Installer.sit.gz Mike Squires