RE: cache_effective_user

From: J <Bike@dont-contact.us>
Date: Thu, 20 May 1999 15:50:37 +0800

In my experience, this is enough:
chown nobody:nobody /usr/local/squid/logs
chown nobody:nobody /usr/local/squid/cache

if your squid is install in default directory.

Bike.

-----Original Message-----
From: danielrod@nts.co.jp [mailto:danielrod@nts.co.jp]
Sent: Thursday, May 20, 1999 1:57 PM
To: squid-users@ircache.net
Subject: cache_effective_user

When cache_effective_user and cache_effective_group are set to "nobody" (or
any other user for that matter), is it necessary to change the ownership of
all the files and directories associated with Squid as well?
For example:
1. chown nobody:nobody /usr/sbin/squid
2. chown nobody:nobody /etc/squid/
3. chown nobody:nobody /etc/squid/*
4. chown nobody:nobody /var/log/squid
5. chown nobody:nobody /var/spool/squid
6. chmod 747 /var/run

The reason for this question is that I get "permission denied" errors
whenever I try to run squid as root, and the ownership of all my squid
related files are not set to the user and group specified in
cache_effective_user and cache_effective_group.

Any ideas or hints are appreciated.

--Daniel
Received on Thu May 20 1999 - 01:53:48 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:21 MST