[
https://issues.apache.org/jira/browse/COMPRESS-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676088#comment-13676088
]
Ken Keefe commented on COMPRESS-230:
------------------------------------
So, should I not expect the directory to be listed first in the
TarArchiveInputStream? When I write my code to untar something, do I need to
check for each file I get from that stream that the parent directory exists and
if it doesn't I should create it?
Thanks very much for the help!
> Tar archive is not being read correctly
> ---------------------------------------
>
> Key: COMPRESS-230
> URL: https://issues.apache.org/jira/browse/COMPRESS-230
> Project: Commons Compress
> Issue Type: Bug
> Components: Archivers
> Affects Versions: 1.5
> Environment: Ubuntu 12.04
> java version "1.7.0_21"
> OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-0ubuntu0.12.10.1)
> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
> Reporter: Ken Keefe
> Attachments: DetExpExample_mob23.tar
>
>
> The TAR archiver is not reading existing tar files correctly. It doesn't
> happen with every tar, just some of my tar files. I'll attach an example tar
> file. The first file it reads is not the root directory, but another file in
> the tar with "._" appended to the front of the file name for some reason.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira