From 707d49af0bacc8a6a6f1756e2773a5447dee1a66 Mon Sep 17 00:00:00 2001 From: Federico Gustavo Galland <99492720+f-galland@users.noreply.github.com> Date: Fri, 31 May 2024 08:13:01 -0300 Subject: [PATCH] Change . for : in debian's postinst (#245) --- distribution/packages/src/deb/debian/postinst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/distribution/packages/src/deb/debian/postinst b/distribution/packages/src/deb/debian/postinst index 235075824aa45..661d2b021be6b 100644 --- a/distribution/packages/src/deb/debian/postinst +++ b/distribution/packages/src/deb/debian/postinst @@ -25,12 +25,12 @@ tmp_dir=/var/log/wazuh-indexer/tmp mkdir -p ${tmp_dir} # Set owner -chown -R wazuh-indexer.wazuh-indexer ${product_dir} -chown -R wazuh-indexer.wazuh-indexer ${config_dir} -chown -R wazuh-indexer.wazuh-indexer ${log_dir} -chown -R wazuh-indexer.wazuh-indexer ${data_dir} -chown -R wazuh-indexer.wazuh-indexer ${pid_dir} -chown -R wazuh-indexer.wazuh-indexer ${tmp_dir} +chown -R wazuh-indexer:wazuh-indexer ${product_dir} +chown -R wazuh-indexer:wazuh-indexer ${config_dir} +chown -R wazuh-indexer:wazuh-indexer ${log_dir} +chown -R wazuh-indexer:wazuh-indexer ${data_dir} +chown -R wazuh-indexer:wazuh-indexer ${pid_dir} +chown -R wazuh-indexer:wazuh-indexer ${tmp_dir} # Reload systemctl daemon if command -v systemctl > /dev/null; then