www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11692] New: can't set file attributes for std.zip.ArchiveMember

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11692

           Summary: can't set file attributes for std.zip.ArchiveMember
           Product: D
           Version: D2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: code dawg.eu


--- Comment #0 from Martin Nowak <code dawg.eu> 2013-12-05 15:30:15 PST ---
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.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 05 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11692



--- Comment #1 from github-bugzilla puremagic.com 2013-12-09 03:19:07 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/463e5d803bf01637487494c93d00e23e8cffbc64
fix Issue 11692 - can't set file attributes for std.zip.ArchiveMember

- Document fileAttributes and set the internal _madeVersion
  according to the encode attribute type.

- deprecate direct access to the externalAttributes field

https://github.com/D-Programming-Language/phobos/commit/aae7c341d2ccfb60b2bdb93abc421e3558a70626
Merge pull request #1751 from dawgfoto/std_zip

[install,regression] fix Issue 11692 - can't set file attributes for
std.zip.ArchiveMember

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 09 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11692


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 09 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11692



--- Comment #2 from github-bugzilla puremagic.com 2013-12-19 07:01:33 PST ---
Commit pushed to 2.065 at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/67933fda951ccd8735eb66ea223980ae7175bc11
Merge pull request #1751 from dawgfoto/std_zip

[install,regression] fix Issue 11692 - can't set file attributes for
std.zip.ArchiveMember

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 19 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11692



--- Comment #3 from github-bugzilla puremagic.com 2014-01-15 11:41:39 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/67933fda951ccd8735eb66ea223980ae7175bc11
Merge pull request #1751 from dawgfoto/std_zip

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 15 2014