aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/squid3/34/squid.inc4
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