File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
docs/reference/setup/install Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
- Elasticsearch defaults to using `/etc/elasticsearch` for runtime configuration.
2
- The ownership of this directory and all files in this directory are set to
3
- `root:elasticsearch` on package installation and the directory has the `setgid`
4
- flag set so that any files and subdirectories created under `/etc/elasticsearch`
5
- are created with this ownership as well (e.g., if a keystore is created using
6
- the <<secure-settings,keystore tool>>). It is expected that this be maintained so
7
- that the Elasticsearch process can read the files under this directory via the
8
- group permissions.
1
+ The `/etc/elasticsearch` directory contains the default runtime configuration
2
+ for {es} . The ownership of this directory and all contained files are set to
3
+ `root:elasticsearch` on package installations.
4
+
5
+ The `setgid` flag applies group permissions on the `/etc/elasticsearch`
6
+ directory to ensure that {es} can read any contained files and subdirectories.
7
+ All files and subdirectories inherit the `root:elasticsearch` ownership.
8
+ Running commands from this directory or any subdirectories, such as the
9
+ <<secure-settings,elasticsearch-keystore tool>>, requires `root:elasticsearch`
10
+ permissions.
9
11
10
12
Elasticsearch loads its configuration from the
11
13
`/etc/elasticsearch/elasticsearch.yml` file by default. The format of this
You can’t perform that action at this time.
0 commit comments