Permissions on $ES_HOME


We've installed the elasticsearch on linux via the .tar.gz archive. I was wondering what the permissions on this $ES_HOME directory and it's subdirectories are suppose to be?

I have set up and elasticsearch user and group.

The permissions on the config subdirectory have root as the owner and elasticsearch as the group:

drwxr-xr-x 3 root elasticsearch 4096 Feb 23 01:20 config

I imaging the logs and data directories should be owned by the both elasticsearch user and group, e,g:

drwxr-xr-x 3 elasticsearch elasticsearch 4096 Feb 22 22:03 data
drwxr-xr-x  2 elasticsearch elasticsearch 4096 Feb 23 01:38 logs

Is this correct? Thoughts about the perms on the bin, lib, modules, and plugins subdirectories?

Thank you!

Welcome to our community! :smiley:

They look ok. Is there a reason you aren't using the DEB/RPM packages? They handle all of this for you.

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