Re: [squid-users] Re: url_rewrite_program issue

From: Antony Stone <>
Date: Sat, 7 Jun 2014 09:58:00 +0100

On Saturday 07 June 2014 at 09:49, xan wrote:

> the issue was the permission on the redirect.php.
> Now I have setted on 777 and all works fine

It may be "working", but setting permissions to 777 is nearly always:

 - a good way to test whether permissions / ownership is the problem
 - a bad way to leave things long term

Instead of leaving the permissions set to 777, you should really be looking at
the owner or the group of redirect.php, and compare that with the user which
is trying to run it, and correct the discrepancy.

The solution could be any of:

 - set the owner of redirect.php to the user which needs to run it
 - set the group of redirect.php to a group that user is a member of
 - add the user trying to run redirect.php to the group owning redirect.php

But lease don't leave any scripts or binaries with permission 777 on your



Atheism is a non-prophet-making organisation.
                                                     Please reply to the list;
                                                           please don't CC me.
Received on Sat Jun 07 2014 - 08:58:09 MDT

This archive was generated by hypermail 2.2.0 : Sat Jun 07 2014 - 12:00:04 MDT