From 96beb0395e634170237f6d644c1df0f84370336b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 4 Feb 2006 03:12:47 +0000 Subject: Setup cache file correctly by touching --- packages/squid_ng.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/squid_ng.inc b/packages/squid_ng.inc index 1e9ad7a5..ad33d2bb 100644 --- a/packages/squid_ng.inc +++ b/packages/squid_ng.inc @@ -804,8 +804,9 @@ function custom_php_install_command() { mwexec("cp /usr/local/etc/squid/mime.conf.default /usr/local/etc/squid/mime.conf"); /* set a few extra items noted by regan */ - mwexec("chgrp squid /dev/pf"); - mwexec("chmod g+rw /dev/pf"); + mwexec("chown squid:wheel /dev/pf"); + mwexec("chmod ug+rw /dev/pf"); + touch("/var/log/cache.log"); mwexec("chown squid:wheel /var/log/cache.log"); update_output_window("Creating Proxy Server initialization scripts..."); -- cgit v1.2.3