diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-11-22 21:34:01 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-11-22 21:34:01 +0000 |
commit | fd4b88d137c1210049758b2122d75664e28c548e (patch) | |
tree | 94ecfa8dc05955bfa8752953151e0ebb73dcc35b /etc/inc | |
parent | 403a270ec83c2c088dd74eceeffa1d2cb1de5c69 (diff) | |
download | pfsense-fd4b88d137c1210049758b2122d75664e28c548e.zip pfsense-fd4b88d137c1210049758b2122d75664e28c548e.tar.gz |
Set permissions correctly so apinger can write the rrd files
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/gwlb.inc | 2 |
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"); } |