Re: [squid-users] Squid won't start with 2 cache_dirs configured

From: Daniel A. Ramaley <[email protected]>
Date: Tue, 25 Oct 2005 17:40:57 -0500

On Tuesday 25 October 2005 16:54, you wrote:
>Have you checked who squid is running as? On a recent test install I
> had permission problems and it was because squid was running as
> user/group nobody which was not a user or group on my system.

When Squid runs (as in, when i only have /var/spool/squid listed as a
cache_dir, and nothing else), it runs as user squid, group squid:
    $ ps -Heo pid,user,euser,group,egroup,command
      PID USER EUSER GROUP EGROUP COMMAND
     3010 root root root root squid -D
     3012 squid squid squid squid (squid) -D
     3014 squid squid squid squid (unlinkd)
[non-Squid lines trimmed]

It looks like there is still something running as root, but a root
process would certainly have permission to read and write files...

------------------------------------------------------------------------
Dan Ramaley
Network Programmer/Analyst
(515) 271-4540
Dial Center 118, Drake University
Received on Tue Oct 25 2005 - 16:41:13 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:05 MST