I've created a tar archive on RedHat Linux using GNU tar 1.14 with the
following command:

tar cf $out --format=posix .

I have also tried the default format (gnu).

When I try to untar the archive on Windows with GNU tar 1.20, I get an
error:

                $ tar xf ../jboss-app-windows.tar
                tar:
./jboss-4.2.2.GA-jboss-messaging-1.4.0.SP1-jdk1.5/server/messaging/deplo
y/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/ht
tp/servlet/InvokerServlet$
                GetCredentialAction.class: Cannot open: File name too
long

If I create the file by other means, other Cygwin commands are able to
access the file; the problem is specific to GNU tar.  My understanding
is that the posix format supports filenames of unlimited length.  Is
this a bug in tar?

Tim

Reply via email to