Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-6124

Instance Creation on Windows fails due to unsupported operation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.2
    • 4.2.3
    • karaf

    Description

      A recent change to use the java.nio PosixFilePermissions to set the executable bits on the bin/karaf... files fails under Windows because PosixFilePermissions is not supported.

      A simple try/catch to use the File.setExecutable in the failure scenario works around the problem.

      I'll issue a quick PR for this.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              diamondq Mike Mansell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: