Skip to content

Commit f8c1b18

Browse files
author
Adam Locke
authored
[DOCS] Updating permissions language for RPM install packages (#63277) (#63345)
* Updating permissions language for RPM install packages. * Fix typo
1 parent df23ea0 commit f8c1b18

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

docs/reference/setup/install/etc-elasticsearch.asciidoc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
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.
911

1012
Elasticsearch loads its configuration from the
1113
`/etc/elasticsearch/elasticsearch.yml` file by default. The format of this

0 commit comments

Comments
 (0)