[
https://issues.apache.org/jira/browse/KARAF-6124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16755685#comment-16755685
]
ASF subversion and git services commented on KARAF-6124:
--------------------------------------------------------
Commit 4dd5610310c8f2b7478245cd03e33847b9423860 in karaf's branch
refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=4dd5610 ]
Merge pull request #744 from diamondq/KARAF-6124
[KARAF-6124] Handle Windows permissions when POSIX not supported
> 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)