From 02ea25e8a045dd8030c3ea218f0fd26d992dc562 Mon Sep 17 00:00:00 2001 From: Andy Bauer Date: Sat, 4 Mar 2017 10:49:14 -0600 Subject: [PATCH] set group ownership on zm.conf --- utils/packpack/startpackpack.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/packpack/startpackpack.sh b/utils/packpack/startpackpack.sh index 4ecd57c27..5f71000ed 100755 --- a/utils/packpack/startpackpack.sh +++ b/utils/packpack/startpackpack.sh @@ -74,6 +74,7 @@ installtrusty () { # Install and test the zoneminder package (only) for Ubuntu Trusty sudo gdebi --non-interactive build/zoneminder_*amd64.deb sudo chmod 644 /etc/zm/zm.conf + sudo chgrp www-data /etc/zm/zm.conf mysql -uzmuser -pzmpass zm < db/test.monitor.sql sudo /usr/bin/zmpkg.pl start sudo /usr/bin/zmfilter.pl -f purgewhenfull