diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/squid.xml | 11 |
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> |