You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2019/01/30 05:16:00 UTC
[jira] [Resolved] (KARAF-6124) Instance Creation on Windows fails
due to unsupported operation
[ https://issues.apache.org/jira/browse/KARAF-6124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-6124.
-----------------------------------------
Resolution: Fixed
> 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
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Labels: windows
> 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)