Hi,

I dont know if this is already a fixed bug, nor if it is a bug of solaris tar 
or gnu tar. 
I have Sparc Solaris 5.9 coming with its own tar and installed gnu tar version 
1.14 for sparc sol 9 (sunfreeware.com)

I created a directory: 

abcdefghijklmnopqrstuvwxyza/abc/abcdefghijklmnopqrstuvw

and a simple text file within it:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbb.txt

I called gnu tar to create the tar file
/usr/local/bin/tar -cf abcdefghijklmnopqrstuvwxyza.tar 
abcdefghijklmnopqrstuvwxyza

and then I called (suns tar for unpacking or listing) 
/usr/bin/tar -tf abcdefghijklmnopqrstuvwxyza.tar

and get the following:
abcdefghijklmnopqrstuvwxyza/
abcdefghijklmnopqrstuvwxyza/abc/
abcdefghijklmnopqrstuvwxyza/abc/abcdefghijklmnopqrstuvw/
././@LongLink
abcdefghijklmnopqrstuvwxyza/abc/abcdefghijklmnopqrstuvw/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

If I call (suns tar)
/usr/bin/tar -xf abcdefghijklmnopqrstuvwxyza.tar

I get the error:
tar: directory checksum error

Unpacking with the gnu tar works. 

But if I create the tar file with suns tar, then unpacking works with the gnu 
tar AND with suns tar.

Best Regards,

David

Attachment: pgp2rnpp9Bn0X.pgp
Description: PGP signature

Reply via email to