When extracting a tar archive which contains hardlinks to symlinks, star corrupts permissions of files pointed to by these links. Steps to Reproduce: $ mkdir test $ cd test $ mkdir dir1 dir2 $ cd dir1 $ touch file1 $ ln -s file1 link1 $ ln link1 link2 $ cd .. $ star -cvv -f dir1.tar -C dir1 . a 0 drwxr-xr-x 2 vsu/vsu Apr 18 22:35 2004 . a 0 -rw-r--r-- 1 vsu/vsu Apr 18 22:35 2004 file1 a 0 lrwxrwxrwx 2 vsu/vsu Apr 18 22:35 2004 link1 -> file1 a 0 lrwxrwxrwx 2 vsu/vsu Apr 18 22:35 2004 link2 link to link1 -> link1 star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k). $ star -xpvv -f dir1.tar -C dir2 x 0 drwxr-xr-x vsu/vsu Apr 18 22:35 2004 ./ x 0 -rw-r--r-- vsu/vsu Apr 18 22:35 2004 file1 x 0 lrwxrwxrwx vsu/vsu Apr 18 22:35 2004 link1 -> file1 x 0 Hrwxrwxrwx vsu/vsu Apr 18 22:35 2004 link2 link to link1 star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k). $ ls -lR .: total 12 drwxr-xr-x 2 vsu vsu 42 Apr 18 22:35 dir1 -rw-r--r-- 1 vsu vsu 10240 Apr 18 22:36 dir1.tar drwxr-xr-x 2 vsu vsu 42 Apr 18 22:35 dir2 ./dir1: total 0 -rw-r--r-- 1 vsu vsu 0 Apr 18 22:35 file1 lrwxrwxrwx 2 vsu vsu 5 Apr 18 22:35 link1 -> file1 lrwxrwxrwx 2 vsu vsu 5 Apr 18 22:35 link2 -> file1 ./dir2: total 0 -rwxrwxrwx 1 vsu vsu 0 Apr 18 22:35 file1 lrwxrwxrwx 2 vsu vsu 5 Apr 18 22:37 link1 -> file1 lrwxrwxrwx 2 vsu vsu 5 Apr 18 22:37 link2 -> file1 Actual Results: Permissions of "file1" in dir2 are corrupted (0777 instead of 0644). Extracting the same tar file with the GNU tar instead of star produces the expected result (permissions are correct). Archiving with GNU tar and extracting with star gives corrupted permissions. Expected Results: File permissions should be preserved correctly.
2 icesik: если как-нить (не спеша) доберёшься, тоже зачтётся.
Можете не добираться. В текущей сизифной версии (star 1.5a75) этого бага нет.