Fixes #3828 - Zammad database credentials are world-readable
Cherry pick of 71d6b9e413
to stable.
This commit is contained in:
parent
2c26e82354
commit
49759f0be8
1 changed files with 3 additions and 0 deletions
|
@ -301,6 +301,9 @@ function update_or_install () {
|
||||||
setup_elasticsearch
|
setup_elasticsearch
|
||||||
|
|
||||||
elasticsearch_searchindex_rebuild
|
elasticsearch_searchindex_rebuild
|
||||||
|
|
||||||
|
echo "# Enforcing 0600 on database.yml ..."
|
||||||
|
chmod 600 ${ZAMMAD_DIR}/config/database.yml
|
||||||
}
|
}
|
||||||
|
|
||||||
function set_env_vars () {
|
function set_env_vars () {
|
||||||
|
|
Loading…
Reference in a new issue