From c3c726d5975aee4cc31e534363ce953fb324ea00 Mon Sep 17 00:00:00 2001 From: dh-cloud <60729713+dh-cloud@users.noreply.github.com> Date: Wed, 10 Aug 2022 22:25:18 +0800 Subject: [PATCH 1/4] fix a typo in Security.java MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "path.conf'" has an extra “'” --- server/src/main/java/org/elasticsearch/bootstrap/Security.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/elasticsearch/bootstrap/Security.java b/server/src/main/java/org/elasticsearch/bootstrap/Security.java index 02e0e25aca2a8..f75d2314bf936 100644 --- a/server/src/main/java/org/elasticsearch/bootstrap/Security.java +++ b/server/src/main/java/org/elasticsearch/bootstrap/Security.java @@ -216,7 +216,7 @@ static void addFilePermissions(Permissions policy, Environment environment, Path addDirectoryPath(policy, Environment.PATH_HOME_SETTING.getKey(), environment.libFile(), "read,readlink", false); addDirectoryPath(policy, Environment.PATH_HOME_SETTING.getKey(), environment.modulesFile(), "read,readlink", false); addDirectoryPath(policy, Environment.PATH_HOME_SETTING.getKey(), environment.pluginsFile(), "read,readlink", false); - addDirectoryPath(policy, "path.conf'", environment.configFile(), "read,readlink", false); + addDirectoryPath(policy, "path.conf", environment.configFile(), "read,readlink", false); // read-write dirs addDirectoryPath(policy, "java.io.tmpdir", environment.tmpFile(), "read,readlink,write,delete", false); addDirectoryPath(policy, Environment.PATH_LOGS_SETTING.getKey(), environment.logsFile(), "read,readlink,write,delete", false); From 3348ae7b3fb63341a939b213183411f9799d48d5 Mon Sep 17 00:00:00 2001 From: dh-cloud <60729713+dh-cloud@users.noreply.github.com> Date: Sun, 14 Aug 2022 09:45:11 +0800 Subject: [PATCH 2/4] Create 89248.yaml --- docs/changelog/89248.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docs/changelog/89248.yaml diff --git a/docs/changelog/89248.yaml b/docs/changelog/89248.yaml new file mode 100644 index 0000000000000..a7ab5d18e324d --- /dev/null +++ b/docs/changelog/89248.yaml @@ -0,0 +1,6 @@ +pr: 89248 +summary: fix a typo in Security.java +area: Bootstrap +type: bug +issues: + - 89327 From 0a48068fc3752e0c691e79a533ebe5e3e8e9cb1f Mon Sep 17 00:00:00 2001 From: dh-cloud <60729713+dh-cloud@users.noreply.github.com> Date: Sun, 14 Aug 2022 09:47:37 +0800 Subject: [PATCH 3/4] "path.conf'" typo fix "path.conf'" typo in Security.java --- docs/changelog/89248.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changelog/89248.yaml b/docs/changelog/89248.yaml index a7ab5d18e324d..00471f4183b52 100644 --- a/docs/changelog/89248.yaml +++ b/docs/changelog/89248.yaml @@ -1,5 +1,5 @@ pr: 89248 -summary: fix a typo in Security.java +summary: fix "path.conf'" typo in Security.java area: Bootstrap type: bug issues: From 64b16dd06a05afec7eed072dbe804c9ee5993db1 Mon Sep 17 00:00:00 2001 From: dh-cloud <60729713+dh-cloud@users.noreply.github.com> Date: Wed, 17 Aug 2022 23:11:11 +0800 Subject: [PATCH 4/4] Fix "path.conf'" typo Fix "path.conf'" typo --- docs/changelog/89248.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changelog/89248.yaml b/docs/changelog/89248.yaml index 00471f4183b52..903078381f1ec 100644 --- a/docs/changelog/89248.yaml +++ b/docs/changelog/89248.yaml @@ -1,6 +1,6 @@ pr: 89248 summary: fix "path.conf'" typo in Security.java -area: Bootstrap +area: Engine type: bug issues: - 89327