From 156627275e083cb09e06322669f34dffb6fab7df Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 28 Jan 2010 14:18:20 -0500 Subject: Fix permissions on ntop package sync. Command was also missing full path. --- config/ntop/ntop.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') 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; -- cgit v1.2.3