Fixes #3828 - Zammad database credentials are world-readable

This commit adds a chmod 600 to Zammads postinstall.sh for package installations.
This commit is contained in:
Marcel Herrguth 2021-11-02 13:30:10 +01:00
parent 70e6a52a10
commit 71d6b9e413

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 () {