Bash: ./bin/elasticsearch: Permission denied

Hi.
I try to run Elasticsearch in Hortonworks Data Platform.
I got error "bash: ./bin/elasticsearch: Permission denied ".
Below you can see part of the script.

Could you help me? Thanks in advance.

[root@sandbox-hdp elasticsearch-6.2.4]# sudo chown -R maria_dev elasticsearch-6.2.4
[root@sandbox-hdp elasticsearch-6.2.4]# su maria_dev
[maria_dev@sandbox-hdp elasticsearch-6.2.4]$ ./bin/elasticsearch
bash: ./bin/elasticsearch: Permission denied

[maria_dev@sandbox-hdp elasticsearch-6.2.4]$ java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)

It works for me.
chown -R maria_dev elasticsearch-6.2.4
chmod -R 775 elasticsearch-6.2.4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.