Bug 11692 – can't set file attributes for std.zip.ArchiveMember
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
Linux
Creation time
2013-12-05T15:30:00Z
Last change time
2014-01-15T11:41:39Z
Assigned to
nobody
Creator
code
Comments
Comment #0 by code — 2013-12-05T15:30:15Z
To set the external (OS specific) file attributes one also has to set it's format which is stored in the upper byte of madeVersion.
With https://github.com/D-Programming-Language/phobos/pull/1697 madeVersion became a read-only property so this is no longer possible.
This is needed to store zip files with executable flag or directories on Posix.
Comment #1 by github-bugzilla — 2013-12-09T03:19:07Z