Skip to content

Commit

Permalink
Don't write LIBARCHIVE.creationtime attribute in tar.gz archive entries
Browse files Browse the repository at this point in the history
Fixes #2586
  • Loading branch information
HannesWell committed Nov 10, 2024
1 parent 2e98ec9 commit 633a492
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ private TarArchiveEntry createTarEntry(File tarRootDir, File source) throws IOEx
tarEntry.setMode(FilePermissionHelper.toOctalFileMode(attrs.permissions()));
}
tarEntry.setModTime(source.lastModified());
tarEntry.setCreationTime(null); // tar cannot handle 'LIBARCHIVE.creationtime' attributes
return tarEntry;
}

Expand Down

0 comments on commit 633a492

Please sign in to comment.