Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A694618CE2 for ; Tue, 6 Oct 2015 03:26:42 +0000 (UTC) Received: (qmail 35764 invoked by uid 500); 6 Oct 2015 03:26:27 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 35659 invoked by uid 500); 6 Oct 2015 03:26:26 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 35644 invoked by uid 99); 6 Oct 2015 03:26:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2015 03:26:26 +0000 Date: Tue, 6 Oct 2015 03:26:26 +0000 (UTC) From: "Stefan Bodewig (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COMPRESS-324) Tar fails to detect fields for LF_GNUTYPE_LONGNAME archive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COMPRESS-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14944449#comment-14944449 ] Stefan Bodewig commented on COMPRESS-324: ----------------------------------------- GNU tar itself uses {{LongLink}} both for long file names and long link names: http://git.savannah.gnu.org/cgit/tar.git/tree/src/create.c#n547 So your archive hasn't been created by GNU tar but likely by a different tool that tried to mimic the GNU long file name mode. Anyway, GNU tar will happily extract the proper file name since - unlike Commons Compress - it only cares for the "linkType" flag and completely ignores the name of the tar entry. We could and probably should do the same. > Tar fails to detect fields for LF_GNUTYPE_LONGNAME archive > ---------------------------------------------------------- > > Key: COMPRESS-324 > URL: https://issues.apache.org/jira/browse/COMPRESS-324 > Project: Commons Compress > Issue Type: Bug > Reporter: MrBump > Attachments: java_apache_untar.zip > > > Trying to extract a test tar archive with a simple java code. For a particular tar example fails to extract. -- This message was sent by Atlassian JIRA (v6.3.4#6332)