aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dashboard')
-rw-r--r--packages/dashboard/dashboard.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/dashboard/dashboard.inc b/packages/dashboard/dashboard.inc
index cc578a44..b147632e 100644
--- a/packages/dashboard/dashboard.inc
+++ b/packages/dashboard/dashboard.inc
@@ -25,6 +25,10 @@ function dashboard_deinstall() {
}
function assign_privs() {
+ mwexec("chown root:wheel /usr/local/www/index.php");
+ mwexec("chown root:wheel /usr/local/www/fbegin.php");
+ mwexec("chown root:wheel /usr/local/www/graph_cpu.php");
+ mwexec("chown root:wheel /usr/local/www/stats.php");
mwexec("chmod a+rw /usr/local/www/index.php");
mwexec("chmod a+rw /usr/local/www/fbegin.php");
mwexec("chmod a+rw /usr/local/www/graph_cpu.php");