From a2ee29bfd33824826c455007c5cd16187da5c89c Mon Sep 17 00:00:00 2001 From: c-bordon Date: Wed, 4 Oct 2023 09:36:08 -0300 Subject: [PATCH] Updated file permissions to have the same permissions as in package installation in Wazuh indexer --- build-docker-images/wazuh-indexer/config/config.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/build-docker-images/wazuh-indexer/config/config.sh b/build-docker-images/wazuh-indexer/config/config.sh index 4d51efc3..30f5d1f2 100644 --- a/build-docker-images/wazuh-indexer/config/config.sh +++ b/build-docker-images/wazuh-indexer/config/config.sh @@ -144,10 +144,3 @@ find ${TARGET_DIR} -type f -perm 644 -exec chmod 640 {} \; find ${TARGET_DIR} -type f -perm 664 -exec chmod 660 {} \; find ${TARGET_DIR} -type f -perm 755 -exec chmod 750 {} \; find ${TARGET_DIR} -type f -perm 744 -exec chmod 740 {} \; - - -# Fix OpenSearch security plugin permissions -chown ${USER}:${GROUP} ${TARGET_DIR}${INSTALLATION_DIR}/opensearch-security/internal_users.yml -chown ${USER}:${GROUP} ${TARGET_DIR}${CONFIG_DIR}/opensearch.yml -chmod 0600 ${TARGET_DIR}${CONFIG_DIR}/opensearch.yml -chmod 0600 ${TARGET_DIR}${INSTALLATION_DIR}/opensearch-security/internal_users.yml \ No newline at end of file