You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Mike Mansell (JIRA)" <ji...@apache.org> on 2019/01/30 02:51:00 UTC
[jira] [Created] (KARAF-6124) Instance Creation on Windows fails
due to unsupported operation
Mike Mansell created KARAF-6124:
-----------------------------------
Summary: Instance Creation on Windows fails due to unsupported operation
Key: KARAF-6124
URL: https://issues.apache.org/jira/browse/KARAF-6124
Project: Karaf
Issue Type: Bug
Components: karaf
Affects Versions: 4.2.2
Reporter: Mike Mansell
Fix For: 4.2.3
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)