summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-22 21:34:01 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-22 21:34:01 +0000
commitfd4b88d137c1210049758b2122d75664e28c548e (patch)
tree94ecfa8dc05955bfa8752953151e0ebb73dcc35b /etc
parent403a270ec83c2c088dd74eceeffa1d2cb1de5c69 (diff)
downloadpfsense-fd4b88d137c1210049758b2122d75664e28c548e.zip
pfsense-fd4b88d137c1210049758b2122d75664e28c548e.tar.gz
Set permissions correctly so apinger can write the rrd files
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 5172480..2c0fc44 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -163,7 +163,7 @@ EOD;
if (is_dir("{$g['tmp_path']}"))
chmod("{$g['tmp_path']}", 01777);
if (is_dir("{$g['vardb_path']}/rrd"))
- chgrp("{$g['vardb_path']}/rrd", "nobody");
+ chown("{$g['vardb_path']}/rrd", "nobody");
/* start a new apinger process */
mwexec_bg("/usr/local/sbin/apinger -c {$g['varetc_path']}/apinger.conf");
}
OpenPOWER on IntegriCloud