Module: check_mk
Branch: master
Commit: e5ce909d4d6ca4d4691bf98242352762f8e63b26
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e5ce909d4d6ca4…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Mar 30 16:14:58 2016 +0200
setup.sh: Fixed possible encoding problem in defaults.py and fixed apache user write
permissions on var dir
---
scripts/setup.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/setup.sh b/scripts/setup.sh
index b18dc17..74e94e8 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -468,6 +468,7 @@ create_defaults ()
{
cat <<EOF
+# encoding: utf-8
# This file has been created during setup of check_mk at $(date).
# Do not edit this file. Also do not try to override these settings
# in main.mk since some of them are hardcoded into several files
@@ -838,6 +839,8 @@ do
fi &&
mkdir -p $DESTDIR$confdir/conf.d &&
if [ -z "$DESTDIR" ] ; then
+ chgrp -R $wwwgroup $DESTDIR$vardir &&
+ chmod -R g+w $DESTDIR$vardir &&
chgrp -R $wwwgroup $DESTDIR$vardir/web &&
chmod -R g+w $DESTDIR$vardir/web &&
chgrp -R $wwwgroup $DESTDIR$vardir/log &&