Re: [squid-users] Permission denied on squidguard

From: sasa <sasa@dont-contact.us>
Date: Fri, 27 May 2005 12:02:08 +0200

"squidrunner support" wrote:

> You are changed squid.conf to root but changed
> permission of binary to another squid:squid??

..now I have:

[root@fw1 ~]# ls -l /etc/squid/
totale 604
-rw-r----- 1 root squid 367 16 mag 21:59 cachemgr.conf
lrwxrwxrwx 1 root root 22 20 mag 17:40 icons -> /usr/share/squid/icons
-rw-r--r-- 1 root root 26104 16 mag 21:59 mib.txt
-rw-r--r-- 1 root root 11651 16 mag 21:59 mime.conf
-rw-r--r-- 1 root root 11651 16 mag 21:59 mime.conf.default
-rwxr-xr-x 1 root root 296 18 mag 17:01 mp3.txt
-rw-r--r-- 1 root root 421 16 mag 21:59 msntauth.conf
-rw-r--r-- 1 root root 421 16 mag 21:59 msntauth.conf.default
-rw-r----- 1 root root 111215 27 mag 11:42 squid.conf
-rw-r--r-- 1 root root 111213 26 mag 18:50 squid.conf~
-rw-r--r-- 1 root root 118251 16 mag 21:59 squid.conf.default
-rw-r----- 1 root squid 118251 16 mag 21:59 squid.conf.rpmnew
-rw-r--r-- 1 root root 2569 23 mag 15:24 squidguard.conf
-rw-r--r-- 1 root root 2515 18 mag 16:30 squidguard.conf~
[root@fw1 ~]# ls -l /usr/sbin/squid
-rwxr-xr-x 1 root root 646564 16 mag 21:59 /usr/sbin/squid
[root@fw1 ~]# ls -l /usr/bin/squidGuard
-rwxr-xr-x 1 root root 70758 12 gen 21:20 /usr/bin/squidGuard

.. I must change to:

[root@fw1 ~]# ls -l /usr/sbin/squid
-rwxr-xr-x 1 squid squid 646564 16 mag 21:59 /usr/sbin/squid
[root@fw1 ~]# ls -l /usr/bin/squidGuard
-rwxr-xr-x 1 squid squid 70758 12 gen 21:20 /usr/bin/squidGuard

 .. it's just ?.. sorry for my banal question but the situation (for me !) is much confuse !

> Configure squid as cache_effective_user and group.
> Change all permissions of var/log/* amd squidguard
> file.
>
> chown -R squid:squid var/

..ok !

root@fw1 ~]# ls -l /var/log/
drwxr-x--- 2 squid squid 4096 22 mag 04:02 squid
drwxr-xr-x 2 squid squid 4096 18 mag 17:15 squidguard
 
> Start squid in debug mode to know the problem as
> ./squid -NCd10

#/usr/sbin/squid -NCd10

Abortito

..thanks.

        Salvatore.
Received on Fri May 27 2005 - 04:02:32 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:03 MDT