[haiku-bugs] Re: [Haiku] #11023: zip loses all the file's attributes, when attributes > 64 KiB

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Mon, 23 Mar 2015 08:32:02 -0000

#11023: zip loses all the file's attributes, when attributes > 64 KiB
-----------------------------------------------+---------------------------
   Reporter:  bbjimmy                          |      Owner:  nobody
       Type:  bug                              |     Status:  closed
   Priority:  high                             |  Milestone:  R1/beta1
  Component:  Applications/Command Line Tools  |    Version:
 Resolution:  fixed                            |  R1/Development
 Blocked By:                                   |   Keywords:
Has a Patch:  0                                |   Blocking:
                                               |   Platform:  All
-----------------------------------------------+---------------------------

Comment (by korli):

 For reference:
 http://en.wikipedia.org/wiki/Zip_%28file_format%29#File_headers
 {{{
 Offset  Bytes   Description[25]
 28      2       Extra field length (m)
 }}}

 The allowed length of 2 bytes limits the attributes to be stored per file.

 This is on par with what MacOS
 [https://searchcode.com/codesearch/view/12515537/#l-511 implemented].
 Going beyond this limit is an enhancement, not an issue.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11023#comment:9>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: