File tree 2 files changed +1
-7
lines changed
src/main/java/org/codehaus/plexus/archiver
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1283,12 +1283,7 @@ public void configureReproducibleBuild( FileTime lastModifiedTime )
1283
1283
// 2. sort filenames in each directory when scanning filesystem
1284
1284
setFilenameComparator ( String ::compareTo );
1285
1285
1286
- // 3. ignore file/directory mode from filesystem, since they may vary based on local user umask
1287
- // notice: this overrides execute bit on Unix (that is already ignored on Windows)
1288
- setFileMode ( Archiver .DEFAULT_FILE_MODE );
1289
- setDirectoryMode ( Archiver .DEFAULT_DIR_MODE );
1290
-
1291
- // 4. ignore uid/gid from filesystem (for tar)
1286
+ // 3. ignore uid/gid from filesystem (for tar)
1292
1287
setOverrideUid ( 0 );
1293
1288
setOverrideUserName ( "root" ); // is it possible to avoid this, like "tar --numeric-owner"?
1294
1289
setOverrideGid ( 0 );
Original file line number Diff line number Diff line change @@ -488,7 +488,6 @@ ResourceIterator getResources()
488
488
* <ul>
489
489
* <li>reproducible archive entries order,</li>
490
490
* <li>defined entries timestamp</li>
491
- * <li>and reproducible entries Unix mode.</li>
492
491
* </ul>
493
492
*
494
493
* @param lastModifiedTime The last modification time of the entries
You can’t perform that action at this time.
0 commit comments