Skip to content

NPE in PluginsService when starting elasticsearch with a wrong user #5195

@dadoonet

Description

@dadoonet

When starting elasticsearch with a wrong linux user, it could generate a NullPointerException when PluginsService tries to list available plugins in ./plugins dir.

To reproduce:

  • create a plugins directory with rwx rights for root user only
  • launch elasticsearch from another account (elasticsearch for example)

It was supposed to be fixed with #4186, but sadly it's not :-(

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions