diff --git a/distribution/packages/src/rpm/wazuh-indexer.rpm.spec b/distribution/packages/src/rpm/wazuh-indexer.rpm.spec index aab6814472146..affba09fcf4ca 100644 --- a/distribution/packages/src/rpm/wazuh-indexer.rpm.spec +++ b/distribution/packages/src/rpm/wazuh-indexer.rpm.spec @@ -176,8 +176,8 @@ exit 0 %post set -e -chown -R %{name}.%{name} %{config_dir} -chown -R %{name}.%{name} %{log_dir} +chown -R %{name}:%{name} %{config_dir} +chown -R %{name}:%{name} %{log_dir} # Apply PerformanceAnalyzer Settings chmod a+rw /tmp