Не стартует squid 2.6010/01/14 15:01:15| ALERT: setgid: (1) Operation not permitted
WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
/usr/local/squid/var/logs/cache.log: Permission denied
messages will be sent to 'stderr'.
2010/01/14 15:01:15| WARNING: Closing open FD 2
2010/01/14 15:01:15| Starting Squid Cache version 2.6.STABLE9 for i386-unknown-freebsd6.2...
2010/01/14 15:01:15| Process ID 1228
2010/01/14 15:01:15| With 2240 file descriptors available
2010/01/14 15:01:15| Using kqueue for the IO loop
2010/01/14 15:01:15| Performing DNS Tests...
2010/01/14 15:01:15| Successful DNS name lookup tests...
2010/01/14 15:01:15| DNS Socket created at 0.0.0.0, port 56707, FD 5
2010/01/14 15:01:15| Adding nameserver xxx.xxx.xxx.xxx from squid.conf
FATAL: Cannot open '/usr/local/squid/var/logs/access.log' for writing.
The parent directory must be writeable by the
user 'squid', which is the cache_effective_user
set in squid.conf.
cat /etc/group /etc/passwd | grep squid
squid:*:10:
squid:*:10:10:Squid Cache pseudo-user:/usr/local/squid:/sbin/nologin
cat /usr/local/squid/etc/squid.conf | grep effective
cache_effective_user squid
cache_effective_group squid
и собственно
ls -lR /usr/local/squid/var/
total 12
drwxr-xr-x 3 squid squid 512 Aug 1 12:37 ./
drwxr-xr-x 10 squid squid 512 Aug 1 12:21 ../
drwxr-xr-x 2 squid squid 512 Jan 14 13:40 logs/
-rw-r--r-- 1 squid squid 5168 Jan 14 15:06 squid.out
/usr/local/squid/var/logs:
total 30
drwxr-xr-x 2 squid squid 512 Jan 14 13:40 ./
drwxr-xr-x 3 squid squid 512 Aug 1 12:37 ../
-rw-r----- 1 squid squid 0 Jan 14 13:40 access.log
-rw-r----- 1 squid squid 25094 Jan 14 15:06 cache.log
-rw-r----- 1 squid squid 0 Jan 14 13:40 store.log
так вопрос , почему ?