|
@@ -1,11 +1,13 @@
|
|
|
-Elasticsearch defaults to using `/etc/elasticsearch` for runtime configuration.
|
|
|
-The ownership of this directory and all files in this directory are set to
|
|
|
-`root:elasticsearch` on package installation and the directory has the `setgid`
|
|
|
-flag set so that any files and subdirectories created under `/etc/elasticsearch`
|
|
|
-are created with this ownership as well (e.g., if a keystore is created using
|
|
|
-the <<secure-settings,keystore tool>>). It is expected that this be maintained so
|
|
|
-that the Elasticsearch process can read the files under this directory via the
|
|
|
-group permissions.
|
|
|
+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.
|
|
|
|
|
|
Elasticsearch loads its configuration from the
|
|
|
`/etc/elasticsearch/elasticsearch.yml` file by default. The format of this
|