Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am getting an error- Unknown file type 'A', extracted as normal file while un-tarring a set of files which has acl permissions set.

I had created the tar file in solaris as tar -cpfv Tarfilename.tar directory if I un-tar as tar xvpf Tarfilename.tar, it works great in solaris.

I had copied the tar file to Linux and tried to extract using tar xvpf, it dosen't throws the warning Unknown file type 'A', extracted as normal file and created files without ACL permissions.

tar --version : tar (GNU tar) 1.15.1

share|improve this question
    
Can't you just use gtar on Solaris? (see unix.stackexchange.com/questions/66415/…). Personally I've made it a habit always to use gtar on Solaris, rather than tar. –  unixhacker2010 Jan 26 at 12:01

2 Answers 2

Maybe try using bsdtar? It can be installed without conflicts with gnu tar (binary is called bsdtar).

share|improve this answer

Tar Wars

The Solaris tar format handles extended headers differently to GNU tar leading to a number of incompatibilities.

star (Schily Tar) provides the best Linux support for the Solaris 7/8/9 format due to the work of Joerg Schilling over many years.

Install star on your system and run:

> star -xp artype=suntar f=Tarfilename.tar

Other things to note

There are no cygwin packages available for star

If you ever need to go back the other way, this question describes how to create a tarball on a Linux system that can read on a Solaris system.

share|improve this answer
    
+1 for Tar Wars. –  Tom O'Connor Jan 22 at 12:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.