diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-12-05 19:13:23 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-12-05 19:13:23 +0000 |
commit | dedba3abe3b07e7447c008e3b4c4aca01c206a31 (patch) | |
tree | 93a7508d5a1f95f8ae28c5373a7407a5175c4178 /packages | |
parent | 888e0cf074b7d3f1e85552915529cf19c0827123 (diff) | |
download | pfsense-packages-dedba3abe3b07e7447c008e3b4c4aca01c206a31.tar.gz pfsense-packages-dedba3abe3b07e7447c008e3b4c4aca01c206a31.tar.bz2 pfsense-packages-dedba3abe3b07e7447c008e3b4c4aca01c206a31.zip |
Make sure files are root owned, noticed by: jim-p via IRC
Diffstat (limited to 'packages')
-rw-r--r-- | packages/dashboard/dashboard.inc | 4 |
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"); |