jianlinwei / theunarchiver

Automatically exported from code.google.com/p/theunarchiver
Other
0 stars 0 forks source link

Hard-linked files not expanded properly #734

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
At expanding tar archives containing hard-linked files (files referring to the 
same inode number) theunarchiver creates symbolic links, instead of hard-linked 
files.

To reproduce do the following:

1. Set up a folder with 2 or more hard-linked files.
2. Create a tar archive (with pax or tar); hard links should be honoured by the 
tar format by default.
3. Expand it with theunarchiver or thearchivebrowser.

As result you get 1 file and n symlinks pointing to the file, while n 
corresponds to the number of hard-linked files minus the "original" file.

Apple's Archive Utility expands the archive correctly (i.e. it recreates the 
files as hard links).

Cheers
Thomas

theunarchiver 3.9.1; thearchivebrowser 1.9.1; OS 10.9.1

Original issue reported on code.google.com by thfl...@gmail.com on 10 Feb 2014 at 2:24