Opened 16 years ago

Closed 14 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:
Platform: All

Description

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

cf. ftp://ftp.berlios.de/pub/schily/schily-2009-01-05.tar.bz2

Change History (4)

comment:1 by mmu_man, 16 years ago

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

comment:2 by korli, 16 years ago

I fail to reproduce here.

comment:3 by augiedoggie, 15 years ago

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 by scottmc, 14 years ago

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.