[ 
https://issues.apache.org/jira/browse/COMPRESS-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13678988#comment-13678988
 ] 

Stefan Bodewig commented on COMPRESS-230:
-----------------------------------------

Directories are only to be expected inside the archive if they've been added 
explicitly.  TAR - like all othe archiving formats - doesn't need directory 
entries at all.

It is very common to create directories as needed when extracting archives.
                
> 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

Reply via email to