View previous topic :: View next topic |
Author |
Message |
FxChiP Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Apr 2003 Posts: 103
|
Posted: Sun Jun 08, 2003 9:38 pm Post subject: Squid = grr |
|
|
I'm trying to get a Squid running (I know how to secure the damned thing - it's just insecure in general of course ) ...
Yet when I try to run it as root, it gives me this message (running squid -N):
Squid wrote: |
FATAL: Cannot open '/var/log/squid/access.log' for writing.
The parent directory must be writeable by the user 'squid' which is the cache_effective_user
set in squid.conf |
... but the logs are there, and world-writable (very stupid, but it's only going to bind to my internal network anyway, and only one other computer is on that "network", and the people who use it aren't smart enough to do this )
Rather odd problem... anyone have any fixes?
[edit type="addition"]Thanks in advance... can't believe I forgot to put that before.[/edit]
[edit type="modification"]... the quote command is anal.[/edit] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
c07 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 25 Oct 2002 Posts: 1091
|
Posted: Mon Jun 09, 2003 9:00 am Post subject: Re: Squid = grr |
|
|
FxChiP wrote: | ... but the logs are there, and world-writable |
And all parent directories are accessible by Squid (have the x flags set)? It might even need write permissions to /var/log/squid (not only the logs themselves) to rotate logs. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|