diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-07-04 07:32:16 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-07-04 07:32:16 +0000 |
commit | 3fb4929c80807ac6b451269918083178a9f4af4e (patch) | |
tree | 301991b5d5535b68e1aa124ffb16d7824ff859dc | |
parent | 5b6210e381a55adc4f701b9e0f093434c72bbd95 (diff) | |
download | pfsense-3fb4929c80807ac6b451269918083178a9f4af4e.zip pfsense-3fb4929c80807ac6b451269918083178a9f4af4e.tar.gz |
Make sure the owner and group is set correctly so apinger can write it's
configuration.
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 8bc788e..b4bab32 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -4183,6 +4183,8 @@ EOD; sleep(3); if(!is_process_running("apinger")) { + chown("{$g['vardb_path']}/rrd", "nobody"); + chgrp("{$g['vardb_path']}/rrd", "nobody"); /* start a new apinger process */ mwexec_bg("/usr/local/sbin/apinger -c {$g['varetc_path']}/apinger.conf"); } |