diff options
author | doktornotor <notordoktor@gmail.com> | 2015-09-11 07:17:22 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-09-11 07:17:22 +0200 |
commit | 4fc2597ffea95e8362d171af36d6defd6e26fc8f (patch) | |
tree | 81993c365d0e6ceecdac2c68f904bb13f8153616 | |
parent | 0890ebadc7262cca72967f7e045f408b1a81975a (diff) | |
download | pfsense-packages-4fc2597ffea95e8362d171af36d6defd6e26fc8f.tar.gz pfsense-packages-4fc2597ffea95e8362d171af36d6defd6e26fc8f.tar.bz2 pfsense-packages-4fc2597ffea95e8362d171af36d6defd6e26fc8f.zip |
squid pinger helper needs to be suid root (Bug #5114)
-rwxr-xr-x | config/squid3/34/squid.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc index 25d9e3a6..e5eb2f6c 100755 --- a/config/squid3/34/squid.inc +++ b/config/squid3/34/squid.inc @@ -309,7 +309,7 @@ function squid_install_command() { /* make sure pinger is executable and suid root */ // XXX: Bug #5114 if (file_exists(SQUID_LOCALBASE. "/libexec/squid/pinger")) - chmod(SQUID_LOCALBASE. "/libexec/squid/pinger", 4755); + chgrp(SQUID_LOCALBASE. "/libexec/squid/pinger", SQUID_GID); // XXX: Is it really necessary? if (file_exists("/usr/local/etc/rc.d/squid")) @@ -1880,7 +1880,7 @@ function squid_resync($via_rpc="no") { /* make sure pinger is executable and suid root */ // XXX: Bug #5114 if (file_exists(SQUID_LOCALBASE . "/libexec/squid/pinger")) - chmod(SQUID_LOCALBASE. "/libexec/squid/pinger", 4755); + chgrp(SQUID_LOCALBASE. "/libexec/squid/pinger", SQUID_GID); $log_dir=""; // check if squid is enabled |