summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-17 04:28:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-17 04:28:22 +0000
commita98baaf0d883c2ff85ba56a8d254a7be3b0d9000 (patch)
treea6a2df86bb44518d2b4547685875c4955a1b308f /usr
parent6db28828c5be46ed8be9da992f401d0bf51a7eaa (diff)
downloadpfsense-a98baaf0d883c2ff85ba56a8d254a7be3b0d9000.zip
pfsense-a98baaf0d883c2ff85ba56a8d254a7be3b0d9000.tar.gz
Correctly assign chmod commands with older system format until we can discover where the php chmod is failing.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 369b18d..38bf8e4 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -367,6 +367,7 @@ foreach ($packages_to_install as $id) {
if($pkg_chmod <> "") {
fwrite($fd_log, "Changing file mode for {$pkg_chmod} {$prefix}{$filename}\n");
chmod($prefix . $filename, $pkg_chmod);
+ system("/bin/chmod {$pkg_chmod} {$prefix}{$filename}");
}
}
}
OpenPOWER on IntegriCloud