Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Squid = grr
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
FxChiP
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2003
Posts: 103

PostPosted: Sun Jun 08, 2003 9:38 pm    Post subject: Squid = grr Reply with quote

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
View user's profile Send private message
c07
Veteran
Veteran


Joined: 25 Oct 2002
Posts: 1091

PostPosted: Mon Jun 09, 2003 9:00 am    Post subject: Re: Squid = grr Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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