diff --git a/scripts/pkg/build_templates/opensearch-dashboards/deb/debian/postinst b/scripts/pkg/build_templates/opensearch-dashboards/deb/debian/postinst index 30d62c95e7..b39171a5f6 100755 --- a/scripts/pkg/build_templates/opensearch-dashboards/deb/debian/postinst +++ b/scripts/pkg/build_templates/opensearch-dashboards/deb/debian/postinst @@ -35,6 +35,10 @@ echo " sudo systemctl daemon-reload" 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 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" # 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 6ff7c32084..62f06c01b5 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 @@ -89,6 +89,10 @@ echo " sudo systemctl daemon-reload" 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 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" exit 0 %preun diff --git a/scripts/pkg/build_templates/opensearch/deb/debian/postinst b/scripts/pkg/build_templates/opensearch/deb/debian/postinst index cc84020eb7..4f77d7369b 100755 --- a/scripts/pkg/build_templates/opensearch/deb/debian/postinst +++ b/scripts/pkg/build_templates/opensearch/deb/debian/postinst @@ -69,6 +69,10 @@ if [ -d ${product_dir}/plugins/opensearch-security ]; then echo "### Create opensearch demo certificates in ${config_dir}/" 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 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" 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 f2df1879e0..4cd7ce911d 100644 --- a/scripts/pkg/build_templates/opensearch/rpm/opensearch.rpm.spec +++ b/scripts/pkg/build_templates/opensearch/rpm/opensearch.rpm.spec @@ -132,6 +132,10 @@ if [ -d %{product_dir}/plugins/opensearch-security ]; then echo "### Create opensearch demo certificates in %{config_dir}/" 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 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" exit 0 %preun