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:
parent
70e6a52a10
commit
71d6b9e413
1 changed files with 3 additions and 0 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue