diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-17 04:28:22 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-17 04:28:22 +0000 |
commit | a98baaf0d883c2ff85ba56a8d254a7be3b0d9000 (patch) | |
tree | a6a2df86bb44518d2b4547685875c4955a1b308f /usr/local/www | |
parent | 6db28828c5be46ed8be9da992f401d0bf51a7eaa (diff) | |
download | pfsense-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/local/www')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 1 |
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}"); } } } |