Testing change permissions in entrypoint

This commit is contained in:
c-bordon
2023-10-02 08:49:17 -03:00
parent 23d34f6a89
commit 905b4de859
2 changed files with 14 additions and 10 deletions

View File

@@ -144,13 +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 {} \;
chmod -R 0700 ${TARGET_DIR}/.cache
chmod 0700 ${TARGET_DIR}/extensions
chmod 0700 ${TARGET_DIR}/logs
chmod 0600 ${TARGET_DIR}/opensearch.yml
find ${TARGET_DIR}/bin -type f -exec chmod 0600 {} \;
find ${TARGET_DIR}/jdk/bin -type f -exec chmod 0600 {} \;
chmod 0600 ${TARGET_DIR}/opensearch-security/internal_users.yml
find ${TARGET_DIR}/performance-analyzer-rca/bin -type f -exec chmod 0600 {} \;
chmod 0600 ${TARGET_DIR}/plugins/opensearch-security/tools/wazuh-certs-tool.sh