[squid-users] permission denied cache

From: Basisschool hillegem <school_hillegem@dont-contact.us>
Date: Wed, 28 Jan 2004 12:46:12 +0100

I downloaded the 2.5 Stable source and compiled and installed=20
as per the usual method. This was all done as a new user called squid=20
which was created before install.

when i run squid -z I get the classical error:
2004/01/28 10:15:30| Creating Swap Directories
FATAL: Failed to make swap directory /usr/local/squid/cache: (13) Permission
denied
Squid Cache (Version 2.5.STABLE4): Terminated abnormally.
CPU Usage: 0.000 seconds =3D 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 13

I lookt it up and i found some solutios:
change the owner of the cache and logs directory.
                i.e. # chown -R nobody.nogroup /usr/local/squid/cache
                     # chown -R nobody.nogroup /usr/local/squid/logs

did not work.

i had :

lionking:# ls -ld /usr/local/squid/cache/
drwxr-xr-x 2 squid squid 4096 Jan 28 11:07 /usr/local/squid/cache/

then i tried :

lionking:# ls -ld /usr/local/squid/cache/
drwxr-xr-x 2 nobody nogroup 4096 Jan 28
11:07/usr/local/squid/cache/till does not work.

note:
I changd in squid.conf :
cache_effective_user squid
cache_effective_group squid

my local:
lionking:# ls -ld /usr/local/
drwxrwxrwx 14 root root 4096 Jan 28 11:14 /usr/local/

and squid:
lionking# ls -ld /usr/local/squid/
drwxrwxrwx 11 root root 4096 Jan 28 11:07 /usr/local/squid/

What is going failt. I work with debian as OS.

mgv kenneth

_________________________________________________________________
Je horoscoop al gelezen? http://www.msn.be/horoscoop
Received on Wed Jan 28 2004 - 04:57:16 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:09 MST