[jira] [Commented] (COMPRESS-211) handle zip extra field 0x7875 - Info Zip New Unix Extra Field

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (COMPRESS-211) handle zip extra field 0x7875 - Info Zip New Unix Extra Field

David Costanzo (Jira)

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

Stefan Bodewig commented on COMPRESS-211:
-----------------------------------------

Sounds good!

In theory gid/uid could exceed 31 bits already via star extensions but TarArchiveEntry casts it to an int, so using long rather than BigInteger looks OK.
               

> handle zip extra field 0x7875 - Info Zip New Unix Extra Field
> -------------------------------------------------------------
>
>                 Key: COMPRESS-211
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-211
>             Project: Commons Compress
>          Issue Type: Improvement
>          Components: Archivers
>            Reporter: Julius Davies
>            Assignee: Julius Davies
>            Priority: Minor
>         Attachments: compress-211.patch
>
>
> From Info Zip (zip-3.0)'s source archive (proginfo/extrafld.txt):
> {code}
>          -Info-ZIP New Unix Extra Field:
>           ====================================
>           Currently stores Unix UIDs/GIDs up to 32 bits.
>           (Last Revision 20080509)
>           Value         Size        Description
>           -----         ----        -----------
>   (UnixN) 0x7875        Short       tag for this extra block type ("ux")
>           TSize         Short       total data size for this block
>           Version       1 byte      version of this extra field, currently 1
>           UIDSize       1 byte      Size of UID field
>           UID           Variable    UID for this entry
>           GIDSize       1 byte      Size of GID field
>           GID           Variable    GID for this entry
> {code}

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