Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dadoonet opened this issue Feb 20, 2014 · 0 comments
Closed

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

dadoonet opened this issue Feb 20, 2014 · 0 comments

Comments

@dadoonet
Copy link
Member

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 :-(

@dadoonet dadoonet self-assigned this Feb 20, 2014
dadoonet added a commit to dadoonet/elasticsearch that referenced this issue Feb 20, 2014
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 elastic#4186, but sadly it's not :-(

Closes elastic#5195.
dadoonet added a commit that referenced this issue Feb 24, 2014
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 :-(

Closes #5195.
(cherry picked from commit ad8a482)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant