diff --git a/distribution/packages/src/deb/debmake_install.sh b/distribution/packages/src/deb/debmake_install.sh index 6bf87617ff707..4647707b2da3f 100644 --- a/distribution/packages/src/deb/debmake_install.sh +++ b/distribution/packages/src/deb/debmake_install.sh @@ -35,9 +35,9 @@ chmod -c 0755 "${buildroot}${product_dir}"/bin/* if [ -d "${buildroot}${product_dir}"/plugins/opensearch-security ]; then chmod -c 0755 "${buildroot}${product_dir}"/plugins/opensearch-security/tools/* fi -chmod -c 660 "${buildroot}${config_dir}"/wazuh-template.json # Change Permissions chmod -Rf a+rX,u+w,g-w,o-w "${buildroot}"/* +chmod -c 660 "${buildroot}${config_dir}"/wazuh-template.json exit 0