Re: [squid-users] Permission error. Unable to create /usr/local/squid/var/cache

From: Dave Raven <dave@dont-contact.us>
Date: Tue, 26 Mar 2002 21:05:17 +0200

can you reply with the following info

cat squid.conf|grep effective_user
cat squid.conf|grep effective_group
cat squid.conf|grep cache_dir

ls -l /usr/local/squid/
ls -l /usr/local/squid/var/cache/

Thanks.

Dave Raven.
OpteqSec.

----- Original Message -----
From: "Anders Widman" <andewid@tnonline.net>
To: "Hegedus, Ervin" <airween@amit.hu>
Cc: "Squid Users List" <squid-users@squid-cache.org>
Sent: Tuesday, March 26, 2002 8:49 PM
Subject: Re: [squid-users] Permission error. Unable to create
/usr/local/squid/var/cache

>
>
> > hello,
>
> >> 4) When runing "squid -z -X" I get the following error:
> > [...]
> >> I have doublechecked the folder permissions for /usr/local/squid/*/*
> >> and everyone should have full rights.
>
> > what is the permissions and who is the owner of the cache
> > directory? (see squid.conf: cache_dir parameter)
>
> > (hint: see with ls -l /path/to/your/cache_dir)
>
> The owner of the directory is squid in group squid. Also, squid is
> running as user squid. Isn't this what the "becoming 'squid'" is about?
>
> 2002/03/26 20:31:15| cachemgrRegister: registered config
> 2002/03/26 20:31:15| leave_suid: PID 18106 called
> 2002/03/26 20:31:15| leave_suid: PID 18106 giving up root, becoming
'squid'
> 2002/03/26 20:31:15| Creating Swap Directories
> 2002/03/26 20:31:15| Creating swap space in /usr/local/squid/var/cache
> FATAL: Failed to make swap directory /usr/local/squid/var/cache: (13)
Permission denied
> Squid Cache (Version 2.5.PRE5): Terminated abnormally.
>
> > a.
>
> //Anders
>
>
Received on Tue Mar 26 2002 - 12:09:14 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:06 MST