summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Ortega2023-11-18 00:13:07 -0600
committerMartin Ortega2023-11-18 00:13:07 -0600
commit80f0228968077fb8262ff811da21f59b3d97a08c (patch)
tree2d4199996851979604454fd1b9f567da5552dad0
parentaa87dccafbeb33d33305e8626a2f6a2f7a83394f (diff)
downloadaur-80f0228968077fb8262ff811da21f59b3d97a08c.tar.gz
changing file permissions
-rw-r--r--wazuh-indexer.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/wazuh-indexer.install b/wazuh-indexer.install
index 51a2842c523c..88aa13dc545d 100644
--- a/wazuh-indexer.install
+++ b/wazuh-indexer.install
@@ -3,6 +3,7 @@ post_install()
echo "creating wazuh-indexer user and group"
groupadd -f wazuh-indexer
usuario="wazuh-indexer" && id "$usuario" &>/dev/null || useradd -d /usr/share/wazuh-indexer -g wazuh-indexer -s /usr/bin/nologin wazuh-indexer
+ chown -R wazuh-indexer:wazuh-indexer /usr/share/wazuh-indexer
echo "Done!"
echo "Visit https://documentation.wazuh.com/current/installation-guide/wazuh-indexer/step-by-step.html and follow the configure instructions and Cluster initialization instructions"
}