Opened 10 years ago

Closed 8 years ago

#3406 closed bug (fixed)

GNU tar breaks on extracting hardlinks

Reported by: mmu_man Owned by: axeld
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


Reported by Joerg Schilling, obviously triggered because BFS doesn't support hardlinks:

GNU tar is unable to correclty extract files that are past the hard link in the archive. The standard requires that a tar in such a case skips the file in the archive or extracts it as a plain file

The usual GNU tar bug that I posted in 1993..... "skipping to next header" and not working correclty after that place


Change History (4)

comment:1 Changed 10 years ago by mmu_man

Summary: GNU tar breaks on extracting hardfilesGNU tar breaks on extracting hardlinks

comment:2 Changed 10 years ago by korli

I fail to reproduce here.

comment:3 Changed 9 years ago by augiedoggie

The current tar package seems to handle this correctly when tested with the tarball in the description. It prints out an error when it encounters the linked file but continues with extraction.

comment:4 Changed 8 years ago by scottmc

Resolution: fixed
Status: newclosed

Closing this one out. As reported by korli and augiedoggie, tar now prints out an error message and then continues along. Seems to function as we'd expect it to without support for hard links. Tested with tar-1.25 OptionalPackage installed.

Note: See TracTickets for help on using tickets.