aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-19 18:29:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-19 18:29:46 +0000
commitcc088da92b566cd54905fa9c5689ba438a3703e0 (patch)
treea59d00d3dd04ed9933b227514cb7437f927d0bb8
parente399fa79dbb946e83c05fec591ddee0b2c13d368 (diff)
downloadpfsense-packages-cc088da92b566cd54905fa9c5689ba438a3703e0.tar.gz
pfsense-packages-cc088da92b566cd54905fa9c5689ba438a3703e0.tar.bz2
pfsense-packages-cc088da92b566cd54905fa9c5689ba438a3703e0.zip
Make sure /var/squid/cache/swap.state is writable
-rw-r--r--packages/squid/squid.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc
index a5b7a8cc..731992b2 100644
--- a/packages/squid/squid.inc
+++ b/packages/squid/squid.inc
@@ -89,6 +89,8 @@ function squid_dash_z() {
mwexec("/usr/local/sbin/squid -z");
}
+ exec("chmod a+rw /var/squid/cache/swap.state");
+
}
function squid_is_valid_acl($acl) {