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

(zipfs) Add support for symlinks in zip files

    XMLWordPrintable

    Details

      Description

      A DESCRIPTION OF THE PROBLEM :
      The ZIP file format uses a bit in the permissions field to indicate an entry is a symbolic link. ZipFS doesn't support this and thus symlinks are unpacked as regular files.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create a zip file with a symlink in it using e.g. a command line tool or Apache Commons Compress.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Open it with ZipFS and call Files.isSymbolicLink on the symlink. It returns false when it should return true.

      CUSTOMER SUBMITTED WORKAROUND :
      Only workaround is not using ZipFS at all :(

        Attachments

          Activity

            People

            Assignee:
            lancea Lance Andersen
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: