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)) 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 {} +; } ##############################################################################