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
  • Loading branch information
HannesWell committed Nov 10, 2024
1 parent 2e98ec9 commit f39170c
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 f39170c

Please sign in to comment.