From 44ccbd678ef12be9e0da24e6e371262ccc2ca812 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Mon, 30 Oct 2017 15:34:24 +0000 Subject: fix permission of conf --- tools/boca-createdb.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/boca-createdb.sh b/tools/boca-createdb.sh index c19f2a2..c230819 100644 --- a/tools/boca-createdb.sh +++ b/tools/boca-createdb.sh @@ -112,7 +112,9 @@ if [[ "x$bdcreated" == "x" || "$1" == "-f" ]] ; then fi if ! echo "$*" | grep -q 'nocreate'; then - php ${bocadir}/src/private/createdb.php + php ${bocadir}/src/private/createdb.php + chown www-data.www-data ${bocadir}/src/private/conf.php + chmod 600 ${bocadir}/src/private/conf.php fi exit 0 -- cgit v1.2.3