It isn't a rights problem, I don't think. Probably squid didn't finish
fully creating the directories in the first place (and the swap.state)
wasn't correctly registered.
Assuming the cache dir lives in /var/squid/cache, try this.
rm -r /var/squid/cache
squid -k shutdown #kill your running copy, if any...
squid -z
... should create the directories without complaining. Naturally you
should be root. If this doesn't work, I'd like to hear more details,
because this happened to me and that is how it got fixed.
I sincerely hope this helps.
-Harold
On Tue, 6 Apr 1999, Jay Tarbox wrote:
> I'm having a problem getting Squid to run if there's anyone out there using
> it. I have it compiles and everything, but when I go to run it with the -z
> for caching, I get an error that it can't create a subdirectory under the
> cache dir - access is denied. I get the same error when trying to run it
> with out the option, I get access denied to a logfile that it is trying to
> create. How do I give a program - squid - rights to create directories and
> files?
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Harold Sinclair � � � � [EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=