mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-23 04:51:57 +00:00
Updated file permissions to have the same permissions as in package installation in Wazuh indexer
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user