From 3aa51f547bf605b66f5ca16abc87e86234113a1b Mon Sep 17 00:00:00 2001 From: Victor Carlos Erenu Date: Sat, 7 Mar 2026 02:07:51 +0700 Subject: [PATCH 1/2] Fix set_correct_permOwner function --- .../wazuh-manager/config/etc/cont-init.d/0-wazuh-init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-docker-images/wazuh-manager/config/etc/cont-init.d/0-wazuh-init b/build-docker-images/wazuh-manager/config/etc/cont-init.d/0-wazuh-init index b44406df..5f0fd8c8 100644 --- a/build-docker-images/wazuh-manager/config/etc/cont-init.d/0-wazuh-init +++ b/build-docker-images/wazuh-manager/config/etc/cont-init.d/0-wazuh-init @@ -252,9 +252,9 @@ configure_permissions() { ############################################################################## set_correct_permOwner() { - find / -group 997 -exec chown :999 {} +; - find / -group 101 -exec chown :999 {} +; - find / -user 101 -exec chown 999 {} +; + find /var/wazuh-manager/ -group 997 -exec chown :999 {} +; + find /var/wazuh-manager/ -group 101 -exec chown :999 {} +; + find /var/wazuh-manager/ -user 101 -exec chown 999 {} +; } ############################################################################## From 627f57c8b9eae45cf28976f1ab54e4712d9c6f38 Mon Sep 17 00:00:00 2001 From: Victor Carlos Erenu Date: Sat, 7 Mar 2026 02:10:25 +0700 Subject: [PATCH 2/2] Add changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e4565c5..dc9ae35f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file. ### Changed +- Fix set_correct_permOwner function ([#2238](https://github.com/wazuh/wazuh-docker/pull/2238)) - Add workflow dispatch option ([#2231](https://github.com/wazuh/wazuh-docker/pull/2231)) - Change Wazuh manager certificates names ([#2223](https://github.com/wazuh/wazuh-docker/pull/2223)) - Move index documents test ([#2221](https://github.com/wazuh/wazuh-docker/pull/2221))