Ticket #6851 (closed defect: fixed)
Zip Archives created with Trac/python2.5 have bad file attributes
| Reported by: | hvr | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 |
| Component: | version control/changeset view | Version: | |
| Severity: | normal | Keywords: | python25 zip |
| Cc: |
Description
see also th:ticket:2602
this issue doesn't show up with python 2.4, since there zipfile defaults to setting the create_system field to DOS always, but with 2.5 this changed to
-
/usr/lib/python2.
old new 1 self.create_system = 0 # System which created ZIP archive 1 if sys.platform == 'win32': 2 self.create_system = 0 # System which created ZIP archive 3 else: 4 # Assume everything else is unix-y 5 self.create_system = 3 # System which created ZIP archive
basically to fix this, Trac should set ZipInfo external_attr and/or create_system fields apropriately, to avoid
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


