aboutsummaryrefslogtreecommitdiffstats
path: root/main/zoneminder/zoneminder.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-06-20 00:08:58 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-06-20 00:08:58 +0200
commit9c9d4b2a2fed1e190b95e1808ac904f408bf9f3c (patch)
tree85eb11d337c79f27bc09c1bde0831af24b00f4bd /main/zoneminder/zoneminder.initd
parenta9f6f4f43a817ecb594c0674cdf5f80a0acd5900 (diff)
downloadaports-9c9d4b2a2fed1e190b95e1808ac904f408bf9f3c.tar.bz2
aports-9c9d4b2a2fed1e190b95e1808ac904f408bf9f3c.tar.xz
main/zoneminder: update config in db
Diffstat (limited to 'main/zoneminder/zoneminder.initd')
-rw-r--r--main/zoneminder/zoneminder.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/zoneminder/zoneminder.initd b/main/zoneminder/zoneminder.initd
index 5d68e9d65e..9b7d62162a 100644
--- a/main/zoneminder/zoneminder.initd
+++ b/main/zoneminder/zoneminder.initd
@@ -48,7 +48,7 @@ setup() {
perms() {
. /etc/zm.conf
ebegin "Setting correct permissions"
- chown -R $ZM_WEB_USER:$ZM_WEB_GROUP $ZM_PATH_DATA $ZM_PATH_WEB \
+ chown -L -R $ZM_WEB_USER:$ZM_WEB_GROUP $ZM_PATH_DATA $ZM_PATH_WEB \
$ZM_PATH_CGI $ZM_PATH_LOGS $ZM_PATH_SOCKS $ZM_PATH_SWAP \
$ZM_UPLOAD_FTP_LOC_DIR
}