Search squid archive

Re: Re: url_rewrite_program issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 
machine!



Regards,


Antony.

-- 
Atheism is a non-prophet-making organisation.

                                                     Please reply to the list;
                                                           please don't CC me.




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux