summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Ortega2023-11-18 00:13:33 -0600
committerMartin Ortega2023-11-18 00:13:33 -0600
commit3eb9fe199459188bcd6edddcc7b68a2a1a3daefa (patch)
tree7fe9531b80a3a67783ce1f6748df3be2d2f6e9da
parentef351bd252ab3c9c36c99c56ca5145652c43c75f (diff)
downloadaur-3eb9fe199459188bcd6edddcc7b68a2a1a3daefa.tar.gz
changing file permissions
-rw-r--r--wazuh-manager.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/wazuh-manager.install b/wazuh-manager.install
index 28cdc5b9dbb2..5fb59d0934b7 100644
--- a/wazuh-manager.install
+++ b/wazuh-manager.install
@@ -3,6 +3,7 @@ post_install()
echo "creating wazuh user and group"
groupadd -f wazuh
usuario="wazuh" && id "$usuario" &>/dev/null || useradd -g wazuh -d /var/ossec -s /usr/bin/nologin wazuh
+ chown -R wazuh:wazuh /var/ossec
echo "Done!"
echo "Visit https://documentation.wazuh.com/current/installation-guide/wazuh-dashboard/step-by-step.html and follow the configure instructions"
}