aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbkw <bkw>2005-03-16 21:07:35 +0000
committerbkw <bkw>2005-03-16 21:07:35 +0000
commitb1d2a01d87ba140b7714c664e894bf19a64bc08b (patch)
treeac0d09c797f27a8454e9fa1c88efa53cc78781f1
parent5dd7d7482b4e9ea322caf4bd7bd04cc4f5b285ac (diff)
downloadpfsense-packages-b1d2a01d87ba140b7714c664e894bf19a64bc08b.tar.gz
pfsense-packages-b1d2a01d87ba140b7714c664e894bf19a64bc08b.tar.bz2
pfsense-packages-b1d2a01d87ba140b7714c664e894bf19a64bc08b.zip
chmod set for all squid related dir/files.
-rw-r--r--packages/squid.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/packages/squid.xml b/packages/squid.xml
index bf1771e3..192d9811 100644
--- a/packages/squid.xml
+++ b/packages/squid.xml
@@ -49,14 +49,17 @@
system("/bin/mkdir /usr/local/squid");
system("/bin/mkdir /usr/local/squid/cache");
system("/bin/mkdir /usr/local/etc/squid/errors");
- system("/usr/bin/touch /usr/local/etc/squid/errors/English");
+ system("/usr/bin/touch /usr/local/etc/squid/errors/English");
system("/usr/bin/touch /usr/local/etc/squid/icons");
system("/bin/mkdir /usr/local/libexec/squid");
- system("/usr/bin/touch /usr/local/libexec/squid/unlinkd");
- system("/usr/sbin/chown -R squid:squid /usr/local/squid");
+ system("/usr/bin/touch /usr/local/libexec/squid/unlinkd");
+ system("/usr/sbin/chown -R 750 /usr/local/libexec/squid");
+ system("/usr/sbin/chown -R squid:squid /usr/local/squid");
system("/usr/sbin/chown -R squid:squid /usr/local/etc/squid");
system("/usr/sbin/chown -R squid:squid /usr/local/libexec/squid");
- system("/usr/local/sbin/squid -z");
+ system("/usr/sbin/chown -R 750 /usr/local/squid");
+ system("/usr/sbin/chown -R 750 /usr/local/etc/squid");
+ system("/usr/local/sbin/squid -z");
system("/usr/local/sbin/squid");
filter_configure();
</custom_php_install_command>