Fwd: [squid-users] permission denied cache

From: <mortbox@dont-contact.us>
Date: Sat, 31 Jan 2004 20:49:36 -0500

i've asked to be removed countless times. here's another message that
i didn't want. it's really not that hard to remove somebody is it...

This is a forwarded message
From: Basisschool hillegem <school_hillegem@hotmail.com>
To: squid-users@squid-cache.org
Date: Wednesday, January 28, 2004, 6:46:12 AM
Subject: [squid-users] permission denied cache

===8<==============Original message text===============
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

===8<===========End of original message text===========

-- 
Best regards,
 mortbox                            mailto:mortbox@gamebox.net
Received on Sat Jan 31 2004 - 22:17:43 MST

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