summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Ortega2023-11-18 00:24:59 -0600
committerMartin Ortega2023-11-18 00:24:59 -0600
commit040e495ae1a15e8d2d086866c4bf9dce4444f240 (patch)
treea6985787ecf8f304574d3ba7bfce35636ae30d38
parent5f076782a465acfdd1ae88d3e618445fb9696ebb (diff)
downloadaur-040e495ae1a15e8d2d086866c4bf9dce4444f240.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 392c36c088e7..17f9391824bf 100644
--- a/wazuh-indexer.install
+++ b/wazuh-indexer.install
@@ -5,6 +5,7 @@ post_install()
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
chown -R wazuh-indexer:wazuh-indexer /etc/wazuh-indexer
+ chown -R wazuh-indexer:wazuh-indexer /var/log/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"
}