Hi, I noticed a strange problem when using GNU tar to unpack an archive which I had created using star. I'm not sure whether this is a bug with star or GNU tar. The problem seems to be related to a file and/or directory name having an o-umlaut character (ö).
I used this command to create the archive: star -c f=test_star.tar artype=xustar -numeric -sparse -force-hole "Sven-Göran Eriksson's World Challenge SLES-50852" Using star to list or unpack the archive works fine: # star -t f=test_star.tar Sven-Göran Eriksson's World Challenge SLES-50852/ Sven-Göran Eriksson's World Challenge SLES-50852/Sven-Göran_Eriksson's_World_Challenge_SLES-50852_A0100414717-0101___78_hashes.txt Sven-Göran Eriksson's World Challenge SLES-50852/Sven-Göran_Eriksson's_World_Challenge_SLES-50852_A0100414717-0101___78.toc Sven-Göran Eriksson's World Challenge SLES-50852/Sven-Göran_Eriksson's_World_Challenge_SLES-50852_A0100414717-0101___78.bin Sven-Göran Eriksson's World Challenge SLES-50852/Sven-Göran_Eriksson's_World_Challenge_SLES-50852_A0100414717-0101___78_TOC.bin Sven-Göran Eriksson's World Challenge SLES-50852/Sven-Göran_Eriksson's_World_Challenge_SLES-50852_A0100414717-0101___78.bin.sfv Sven-Göran Eriksson's World Challenge SLES-50852/Sven-Göran_Eriksson's_World_Challenge_SLES-50852_A0100414717-0101___78.bin.md5 star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k). However if I use GNU tar to list the archive: # tar -tf test_star.tar Sven-Göran Eriksson's World Challenge SLES-50852/ Sven-Göran Eriksson's World Challenge SLES-50852/Sven-Göran_Eriksson's_World_Challenge_SLES-50852_A0100414717-0101___78_hashes.txt Sven-Göran Eriksson's World Challenge SLES-50852/Sven-Göran_Eriksson's_World_Challenge_SLES-50852_A0100414717-0101___78.toc Sven-Göran Eriksson's World Challenge SLES-50852/Sven-Göran_Eriksson's_World_Challenge_SLES-50852_A0100414717-0101___78.bin Sven-Göran Eriksson's World Challenge SLES-50852/Sven-Göran_Eriksson's_World_Challenge_SLES-50852_A0100414717-0101___78_TOC.bin Sven-Göran Eriksson's World Challenge SLES-50852/Sven-Göran_Eriksson's_World_Challenge_SLES-50852_A0100414717-0101___78.bin.sfv Sven-Göran Eriksson's World Challenge SLES-50852/Sven-Göran_Eriksson's_World_Challenge_SLES-50852_A0100414717-0101___78.bin.md5 Notice that the ö character is replaced by ö in the line for the ...78.bin file. If I use GNU tar to unpack the archive, two directories are created, corresponding to the correct and bogus directory names in the GNU tar listing. I looked at a hex dump of the test_star.tar archive. For all files except the ...78.bin file, the o-umlaut character is represented by two bytes: 0xC3 0xB6. For the ...78.bin file the o-umlauts are represented by C3 83 C2 B6 (see offsets 0x0C69 and 0x0C9D in the file). The archive is attached (1008 bytes compressed) if anyone feels like investigating this issue.
test_star.tar.gz
Description: GNU Zip compressed data
