|
From: | Boemker, Tim |
Subject: | [Bug-tar] tar reports file name too long, even with --format=posix |
Date: | Tue, 17 Jun 2008 15:41:06 -0400 |
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/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/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
[Prev in Thread] | Current Thread | [Next in Thread] |