aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/ntop/ntop.xml4
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;