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)
Related discussion: https://groups.google.com/forum/#!topic/elasticsearch/_WRW4Qfpo7M
When starting elasticsearch with a wrong linux user, it could generate a
NullPointerExceptionwhenPluginsServicetries to list available plugins in./pluginsdir.To reproduce:
rwxrights for root user onlyRelated discussion: https://groups.google.com/forum/#!topic/elasticsearch/_WRW4Qfpo7M