Skip to content

Commit e653ecf

Browse files
committed
Add note to migration docs on setgid change
This commit adds a note to the migration docs for 5.5 that Elasticsearch sets the setgid flag on /etc/elasticsearch to ensure correct ownership of files created there.
1 parent 4f3c897 commit e653ecf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/reference/migration/migrate_5_5.asciidoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ writing. Starting in Elasticsearch 5.5.0, this flag has been removed and
2020
instead the same functionality can be achieved by masking the `systemd-sysctl`
2121
service.
2222

23+
[float]
24+
=== RPM and Debian packages `setgid` on `/etc/elasticsearch`
25+
26+
The RPM and Debian packages now set the `setgid` flag on `/etc/elasticsearch` so
27+
that any files and subdirectories created under `/etc/elasticsearch` have the
28+
same ownership as `/etc/elasticsearch` (`root:elasticsearch`). This is used to
29+
ensure that files and subdirectories created under `/etc/elasticsearch` (e.g., a
30+
keystore) are readable by the `elasticsearch` user.
31+
2332
[[breaking_55_rest_changes]]
2433
[float]
2534
=== 404s on get alias and get mapping APIs

0 commit comments

Comments
 (0)