Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
We did some changes to prevent privilege escalation with JMX but apparently file permission handling fails on windows.
We can likely avoid setting permissions when on Windows.
CF
java.lang.UnsupportedOperationException: null
at
java.base/java.nio.file.Files.setPosixFilePermissions(Files.java:2168)
at
org.apache.james.modules.server.JMXServer.setPermissionOwnerOnly(JMXServer.java:202)
at
org.apache.james.modules.server.JMXServer.generateJMXPasswordFile(JMXServer.java:179)
at
org.apache.james.modules.server.JMXServer.generateJMXPasswordFileIfNeed(JMXServer.java:164)
at
org.apache.james.modules.server.JMXServer.doStart(JMXServer.java:123)
at
org.apache.james.modules.server.JMXServer.start(JMXServer.java:94)
Attachments
Issue Links
- links to