From 0564b07de22e00fea5f7bbc98a7e6ba12967c7cc Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Wed, 20 Sep 2023 23:29:05 +0000 Subject: [PATCH] Merged from remote Signed-off-by: Peter Zhu --- .../opensearch-dashboards/deb/debian/postinst | 6 +++--- .../rpm/opensearch-dashboards.rpm.spec | 6 +++--- scripts/pkg/build_templates/opensearch/deb/debian/postinst | 6 +++--- .../pkg/build_templates/opensearch/rpm/opensearch.rpm.spec | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/pkg/build_templates/opensearch-dashboards/deb/debian/postinst b/scripts/pkg/build_templates/opensearch-dashboards/deb/debian/postinst index d69cb7ba8c..6f3034cbd4 100755 --- a/scripts/pkg/build_templates/opensearch-dashboards/deb/debian/postinst +++ b/scripts/pkg/build_templates/opensearch-dashboards/deb/debian/postinst @@ -36,9 +36,9 @@ echo " sudo systemctl enable opensearch-dashboards.service" echo "### You can start opensearch-dashboards service by executing" echo " sudo systemctl start opensearch-dashboards.service" echo "### Upcoming breaking change in packaging" -echo " We are planing to tighten the permissions of installed files in a future version of the 2.x or above opensearch-dashboards package." -echo " If you setup tooling that needs read access to the OpenSearch Dashboards configuration files, we invite you to add the user running these tools to the 'opensearch-dashboards' group." -echo " More info: https://github.com/opensearch-project/opensearch-build/pull/4043" +echo " In a future release of OpenSearch Dashboards, we plan to change the permissions associated with access to installed files" +echo " If you are configuring tools that require read access to the OpenSearch Dashboards configuration files, we recommend you add the user that runs these tools to the 'opensearch-dashboards' group" +echo " For more information, see https://github.com/opensearch-project/opensearch-build/pull/4043" # Set owner chown -R opensearch-dashboards.opensearch-dashboards ${product_dir} diff --git a/scripts/pkg/build_templates/opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec b/scripts/pkg/build_templates/opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec index c4fbb25859..d9a3d3aeba 100644 --- a/scripts/pkg/build_templates/opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec +++ b/scripts/pkg/build_templates/opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec @@ -90,9 +90,9 @@ echo " sudo systemctl enable opensearch-dashboards.service" echo "### You can start opensearch-dashboards service by executing" echo " sudo systemctl start opensearch-dashboards.service" echo "### Upcoming breaking change in packaging" -echo " We are planing to tighten the permissions of installed files in a future version of the 2.x or above opensearch-dashboards package." -echo " If you setup tooling that needs read access to the OpenSearch Dashboards configuration files, we invite you to add the user running these tools to the 'opensearch-dashboards' group." -echo " More info: https://github.com/opensearch-project/opensearch-build/pull/4043" +echo " In a future release of OpenSearch Dashboards, we plan to change the permissions associated with access to installed files" +echo " If you are configuring tools that require read access to the OpenSearch Dashboards configuration files, we recommend you add the user that runs these tools to the 'opensearch-dashboards' group" +echo " For more information, see https://github.com/opensearch-project/opensearch-build/pull/4043" exit 0 %preun diff --git a/scripts/pkg/build_templates/opensearch/deb/debian/postinst b/scripts/pkg/build_templates/opensearch/deb/debian/postinst index 55898e760a..3a1f992a02 100755 --- a/scripts/pkg/build_templates/opensearch/deb/debian/postinst +++ b/scripts/pkg/build_templates/opensearch/deb/debian/postinst @@ -70,9 +70,9 @@ if [ -d ${product_dir}/plugins/opensearch-security ]; then echo " See demo certs creation log in ${log_dir}/install_demo_configuration.log" fi echo "### Upcoming breaking change in packaging" -echo " We are planing to tighten the permissions of installed files in a future version of the 2.x or above opensearch package." -echo " If you setup tooling that needs read access to the OpenSearch configuration files, we invite you to add the user running these tools to the 'opensearch' group." -echo " More info: https://github.com/opensearch-project/opensearch-build/pull/4043" +echo " In a future release of OpenSearch Dashboards, we plan to change the permissions associated with access to installed files" +echo " If you are configuring tools that require read access to the OpenSearch configuration files, we recommend you add the user that runs these tools to the 'opensearch' group" +echo " For more information, see https://github.com/opensearch-project/opensearch-build/pull/4043" exit 0 diff --git a/scripts/pkg/build_templates/opensearch/rpm/opensearch.rpm.spec b/scripts/pkg/build_templates/opensearch/rpm/opensearch.rpm.spec index 22d46fcade..cd800f5c47 100644 --- a/scripts/pkg/build_templates/opensearch/rpm/opensearch.rpm.spec +++ b/scripts/pkg/build_templates/opensearch/rpm/opensearch.rpm.spec @@ -133,9 +133,9 @@ if [ -d %{product_dir}/plugins/opensearch-security ]; then echo " See demo certs creation log in %{log_dir}/install_demo_configuration.log" fi echo "### Upcoming breaking change in packaging" -echo " We are planing to tighten the permissions of installed files in a future version of the 2.x or above opensearch package." -echo " If you setup tooling that needs read access to the OpenSearch configuration files, we invite you to add the user running these tools to the 'opensearch' group." -echo " More info: https://github.com/opensearch-project/opensearch-build/pull/4043" +echo " In a future release of OpenSearch Dashboards, we plan to change the permissions associated with access to installed files" +echo " If you are configuring tools that require read access to the OpenSearch configuration files, we recommend you add the user that runs these tools to the 'opensearch' group" +echo " For more information, see https://github.com/opensearch-project/opensearch-build/pull/4043" exit 0 %preun