squid needs to have permissions as the user it is running as... by default i think the user is "nobody"... but it's much better if you add a "squid" user and a "squid" group with a non-login shell:
Code:
groupadd squid
useradd -g squid -d /var/spool/squid -s /bin/false squid
then make sure your squid directories' permissions are set:
Code:
chown -R squid:squid /var/spool/squid
chmod 750 /var/spool/squid
and make sure in your
squid.conf you are specifying that the user and group for squid to be run as is squid:squid... the two options in the
squid.conf file should look like:
Code:
cache_effective_user squid
cache_effective_group squid
after you've made sure you have everything set-up correctly, then you can go ahead and execute "squid -z":