[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-449) TarGzExporter wrong packing of paths with more than 100 characters

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Tue Apr 9 02:06:42 EDT 2013


    [ https://issues.jboss.org/browse/SHRINKWRAP-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765697#comment-12765697 ] 

Andrew Rubinger commented on SHRINKWRAP-449:
--------------------------------------------

Is there a more updated TAR spec we can use?  Header field from what I can tell is limited to 100 characters for the filename:

  http://en.wikipedia.org/wiki/Tar_(computing)#File_header

...which is reflected in our impl:

  https://github.com/shrinkwrap/shrinkwrap/blob/master/impl-base/src/main/java/org/jboss/shrinkwrap/impl/base/io/tar/TarHeader.java#L29
  
                
> TarGzExporter wrong packing of paths with more than 100 characters
> ------------------------------------------------------------------
>
>                 Key: SHRINKWRAP-449
>                 URL: https://issues.jboss.org/browse/SHRINKWRAP-449
>             Project: ShrinkWrap
>          Issue Type: Bug
>          Components: impl-base
>            Reporter: Matej Lazar
>            Assignee: Michal Matloka
>
> Prefixes of long paths (> 100 chars) are ignored when unpacking archives with tar on linux.
> Packing "moreThan100/long/path/to/file.class" with TarGzExporter, is unpacked by linux tar as "long/path/to/file.class". 
> Where "long/path/to/file.class" is just bellow 100 chars.

--
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


More information about the shrinkwrap-issues mailing list