diff options
-rwxr-xr-x | config/squid3/34/squid.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc index 11d445d4..e65a3508 100755 --- a/config/squid3/34/squid.inc +++ b/config/squid3/34/squid.inc @@ -148,9 +148,9 @@ function squid_dash_z($cache_action='none') { } if (file_exists("/var/squid/cache/swap.state")) { - chown("/var/squid/cache/swap.state", "proxy"); - chgrp("/var/squid/cache/swap.state", "proxy"); - exec("chmod a+rw /var/squid/cache/swap.state"); + chown("/var/squid/cache/swap.state", SQUID_UID); + chgrp("/var/squid/cache/swap.state", SQUID_GID); + chmod("/var/squid/cache/swap.state", "a+rw"); } } |