2020-10-06 13:09:50 -04:00
|
|
|
The `/etc/elasticsearch` directory contains the default runtime configuration
|
|
|
|
for {es}. The ownership of this directory and all contained files are set to
|
|
|
|
`root:elasticsearch` on package installations.
|
|
|
|
|
|
|
|
The `setgid` flag applies group permissions on the `/etc/elasticsearch`
|
|
|
|
directory to ensure that {es} can read any contained files and subdirectories.
|
|
|
|
All files and subdirectories inherit the `root:elasticsearch` ownership.
|
|
|
|
Running commands from this directory or any subdirectories, such as the
|
|
|
|
<<secure-settings,elasticsearch-keystore tool>>, requires `root:elasticsearch`
|
|
|
|
permissions.
|
2017-09-27 09:22:52 -04:00
|
|
|
|
|
|
|
Elasticsearch loads its configuration from the
|
|
|
|
`/etc/elasticsearch/elasticsearch.yml` file by default. The format of this
|
|
|
|
config file is explained in <<settings>>.
|