Re: [compress] Getting external attributes from a ZipArchiveEntry

2015-06-10 Thread Stefan Bodewig
On 2015-06-11, Gary Gregory wrote: On Wed, Jun 10, 2015 at 9:29 PM, Stefan Bodewig bode...@apache.org wrote: External attributes are stored inside the central directory which is at the end of the archive. When using ZipArchiveInputStream the central directory is only ever reached once all

Re: [compress] Getting external attributes from a ZipArchiveEntry

2015-06-10 Thread Gary Gregory
I probably create a JIRA and attach the relevant files. Gary On Wed, Jun 10, 2015 at 7:08 AM, Kristina Chodorow kchodo...@google.com wrote: ZipArchiveEntry.getExternalAttributes() is always returning 0 for me. I have pasted a hex dump of the zip file I'm testing with at the bottom of email:

Re: [compress] Getting external attributes from a ZipArchiveEntry

2015-06-10 Thread Stefan Bodewig
On 2015-06-10, Kristina Chodorow wrote: ZipArchiveEntry.getExternalAttributes() is always returning 0 for me. I have pasted a hex dump of the zip file I'm testing with at the bottom of email: 2 files of 0 bytes, one named x and one named y. Both of their external attributes are 33184 (a081

Re: [compress] Getting external attributes from a ZipArchiveEntry

2015-06-10 Thread Gary Gregory
On Wed, Jun 10, 2015 at 9:29 PM, Stefan Bodewig bode...@apache.org wrote: On 2015-06-10, Kristina Chodorow wrote: ZipArchiveEntry.getExternalAttributes() is always returning 0 for me. I have pasted a hex dump of the zip file I'm testing with at the bottom of email: 2 files of 0 bytes,