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

file executable permission is lost when extracting from jar file

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P4
    • None
    • 5.0
    • tools
    • None
    • jar
    • generic
    • solaris

    Description

      On solaris and linux, j2se 1.3, 1.4 and 1.5:

      when I add a file with executable permissions to the jar:

      -rwxr--r-- 1 ngthomas staff 932 Oct 2 13:12 notepad.jnlp*

      and then extract the file back from the jar:

      -rw-r--r-- 1 ngthomas staff 932 Oct 2 13:22 notepad.jnlp

      the executable permission is lost.

      If I do the same thing with zip, the permission is preserved.

      Attachments

        Issue Links

          Activity

            People

              martin Martin Buchholz
              ngthomas Thomas Ng (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: