Fixes #3828 - Zammad database credentials are world-readable

Cherry pick of 71d6b9e413 to stable.
This commit is contained in:
Marcel Herrguth 2021-11-02 13:30:10 +01:00
parent 2c26e82354
commit 49759f0be8

View file

@ -301,6 +301,9 @@ function update_or_install () {
setup_elasticsearch
elasticsearch_searchindex_rebuild
echo "# Enforcing 0600 on database.yml ..."
chmod 600 ${ZAMMAD_DIR}/config/database.yml
}
function set_env_vars () {