Skip to content

Commit

Permalink
Merged from remote
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Sep 20, 2023
1 parent 81a632f commit 0564b07
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions scripts/pkg/build_templates/opensearch/deb/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -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


Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0564b07

Please sign in to comment.