diff options
| -rw-r--r-- | tools/boca-createdb.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |