[ 
https://issues.apache.org/jira/browse/COMPRESS-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebb resolved COMPRESS-322.
---------------------------
    Resolution: Invalid

The example code linked from the issue does not check the type of entries.

Entries can be directories as well as files (or indeed potentially neither).

So it is not suprising that the code does not work as expected.

> Tar extracts folders as files
> -----------------------------
>
>                 Key: COMPRESS-322
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-322
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>            Reporter: MrBump
>
> Extracting folder inside ustar archive generates a file with the same name.
> Example tar file with a folder and a file inside:
> https://mega.nz/#!wUMD0K6Z!rmJe9r5xzQzzNrDLn8I7E4rXFkXJDECQrLRQSy7yEKU
> I am using this example code for extraction:
> http://thinktibits.blogspot.com.es/2013/01/read-extract-tar-file-java-example.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to