Re: [squid-users] Permissions for squid folders and user.

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 29 Jun 2013 00:36:47 +1200

On 28/06/2013 11:42 p.m., shumba wrote:
> Hi All,
>
> I have compiled squid from source and not defining user for it. Now when I
> run squid -z I got the following:
>
> WARNING: Cannot write log file: /var/log/squid//cache.log
> /var/log/squid//cache.log: Permission denied
> messages will be sent to 'stderr'.
> 2013/06/28 15:23:12 kid1| Creating missing swap directories
> 2013/06/28 15:23:12 kid1| No cache_dir stores are configured.
>
> If I run ls -al on the installation folder I get the below:
>
> *******drwxr-xr-x 10 root root 4096 Jun 28 14:54 squid
>
> Anyone who can help me with this please

All the squid/ folders needs to have ownsership and reaad/write
permission for the proxy user account.
What that account is will be determined by your settings. The default is
"nobody" unless you built Squid with --with-default-user, or configured
cache_effective_user.

Amos
Received on Fri Jun 28 2013 - 12:36:52 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 28 2013 - 12:00:07 MDT