diff options
author | jim-p <jim@pingle.org> | 2010-01-28 14:18:20 -0500 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2010-01-28 14:20:08 -0500 |
commit | 156627275e083cb09e06322669f34dffb6fab7df (patch) | |
tree | 2e4490b6019ca4933c7536d2207ee9e88841c730 /config/ntop | |
parent | 6c9de56bdee8fd2937832abcf125c5a49a3ee80f (diff) | |
download | pfsense-packages-156627275e083cb09e06322669f34dffb6fab7df.tar.gz pfsense-packages-156627275e083cb09e06322669f34dffb6fab7df.tar.bz2 pfsense-packages-156627275e083cb09e06322669f34dffb6fab7df.zip |
Fix permissions on ntop package sync. Command was also missing full path.
Diffstat (limited to 'config/ntop')
-rw-r--r-- | config/ntop/ntop.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/ntop/ntop.xml b/config/ntop/ntop.xml index bc01e46f..3b50c847 100644 --- a/config/ntop/ntop.xml +++ b/config/ntop/ntop.xml @@ -109,8 +109,8 @@ system("/bin/mkdir -p /var/db/ntop"); system("/bin/mkdir -p /var/db/ntop/rrd"); system("/bin/mkdir -p /var/db/ntop/rrd/graphics"); - system("chown nobody:nobody /var/db/ntop"); - system("chown nobody:nobody /var/db/ntop/rrd/graphics"); + system("/bin/chmod -R 755 /var/db/ntop"); + system("/usr/sbin/chown -R nobody:nobody /var/db/ntop"); if($ntop_config['password'] and $ntop_config['passwordagain']) { if($ntop_config['password'] == $ntop_config['passwordagain']) { $first = 0; |