forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '4.9.0' into 101-wazuh-indexer-user-doesnt-exist
- Loading branch information
Showing
5 changed files
with
76 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,9 +64,10 @@ mkdir -p %{buildroot}%{pid_dir} | |
mkdir -p %{buildroot}%{product_dir}/plugins | ||
# Install directories/files | ||
cp -a etc usr var %{buildroot} | ||
chmod 0755 %{buildroot}%{product_dir}/bin/* | ||
chmod 0750 %{buildroot}%{product_dir}/bin/* | ||
if [ -d %{buildroot}%{product_dir}/plugins/opensearch-security ]; then | ||
chmod 0755 %{buildroot}%{product_dir}/plugins/opensearch-security/tools/* | ||
chmod 0640 %{buildroot}%{product_dir}/plugins/opensearch-security/tools/* | ||
chmod 0740 %{buildroot}%{product_dir}/plugins/opensearch-security/tools/*.sh | ||
fi | ||
# Pre-populate the folders to ensure rpm build success even without all plugins | ||
mkdir -p %{buildroot}%{config_dir}/opensearch-observability | ||
|
@@ -192,9 +193,7 @@ exit 0 | |
|
||
# Wazuh additional files | ||
%attr(440, %{name}, %{name}) %{product_dir}/VERSION | ||
%attr(750, %{name}, %{name}) %{product_dir}/bin/indexer-security-init.sh | ||
%attr(750, %{name}, %{name}) %{product_dir}/bin/indexer-ism-init.sh | ||
%attr(750, %{name}, %{name}) %{product_dir}/bin/indexer-init.sh | ||
%attr(660, %{name}, %{name}) %{config_dir}/wazuh-template.json | ||
|
||
%changelog | ||
* Thu Mar 28 2024 support <[email protected]> - 4.9.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters