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

file executable permission is lost when extracting from jar file

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
      jar
    • CPU:
      generic
    • OS:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: