Skip to content

Files entitlements need to be case sensitive on Windows #127047

Closed
@ldematte

Description

@ldematte

Elasticsearch Version

8.18.0, 9.0.0

Installed Plugins

No response

Java Version

bundled

OS Version

Windows

Problem Description

Files entitlements are checked in a case sensitive way. On Windows, this can lead to deny an entitlement (NotEntitlementException) for paths that should be valid.

Steps to Reproduce

The easiest way to reproduce this is to use a lowercase drive letter, e.g. switch to cd c:\path\to\elasticsearch\bin and then launch elasticsearch.bat. ES fails to start, as it checks entitlements for C:\... against c:\...

Logs (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions