Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8324635 (zipfs) Regression in Files.setPosixFilePermissions called on existing MSDOS entries
  3. JDK-8325200

[BACKOUT] (zipfs) Regression in Files.setPosixFilePermissions called on existing MSDOS entries

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Other
    • P4
    • None
    • None
    • core-libs
    • None

    Description

      When setting file permissions on an existing MSDOS entry, the entry's "posixPerms" will be -1 (all 1s in binary).

      The current logic does not account for this when updating the 'external file attributes' bit, it sets the leading bits to 1 when they should be 0.

      This is a regression introduced by JDK-8322565

      Attachments

        Activity

          People

            eirbjo Eirik Bjørsnøs
            eirbjo Eirik Bjørsnøs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: