Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8322565

(zipfs) Files.setPosixPermissions should preserve 'external file attributes' bits

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • core-libs
    • None
    • b05

      ZipFileSystem currently overwrites any non-permission related bits of the 'external file attributes' field when Files.setPosixPermissions is called.

      The fix is to modify readCEN to read all 16 bits and for setPermissions to preserve the first 7 bits when updating the last 9 permission bits.

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

              Created:
              Updated:
              Resolved: