Skip to content

Commit

Permalink
Revert "Allow opensearch-dashboard user to read its config (opensearc…
Browse files Browse the repository at this point in the history
…h-project#4038)"

This reverts commit c988f82.
  • Loading branch information
peterzhuamazon committed Sep 19, 2023
1 parent e0e8695 commit a0bfacb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ echo "### You can start opensearch-dashboards service by executing"
echo " sudo systemctl start opensearch-dashboards.service"

# Set ownership and permissions
chown -R root.opensearch-dashboards ${config_dir}
chmod -R u=rwX,g=rX,o= ${config_dir}

chown -R opensearch-dashboards.adm ${log_dir}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ exit 0

%post
set -e
chown -R root.%{name} %{config_dir}
# Reload systemctl daemon
if command -v systemctl > /dev/null; then
systemctl daemon-reload
Expand Down

0 comments on commit a0bfacb

Please sign in to comment.