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

From: Anders Widman <andewid@dont-contact.us>
Date: Tue, 26 Mar 2002 19:49:10 +0100

> 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 - 11:48:49 MST

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