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.
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.
- relates to
-
JDK-8324635 (zipfs) Regression in Files.setPosixFilePermissions called on existing MSDOS entries
-
- Resolved
-