Search squid archive

Re: Re: Squid Cache Directory - Webmin

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

 



Do logs get rotated because they reach a certain size or threshold?  I
found something that is kind of confusing me, the owner of cache.log
is the user 'proxy' which I never created, so this must be a default
user from squid.

I ran ls -l /var/log/squid3/cache.log and found that -rw-r----- 1
proxy proxy 38762 2012-02-15 14:03 /var/log/squid3/cache.log

So it looks like the permissions need to be assigned to the user
proxy, but I don't have that info.  I'm pretty sure this will fix the
Webmin info, but my I'm wondering how users are giving permissions to
Webmin for the cache.log directory.



On Wed, Feb 15, 2012 at 2:53 PM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
> On 16.02.2012 11:31, berry guru wrote:
>>
>> If I were to run chmod ugo+rwx *file* where file would be cache.log am
>> I going to break something.  Is this the appropriate approach?
>
>
> It is incomplete. When the log gets rotated things die again.
>
> The Squid details are in a folder called .../squid3/ so that you can assign
> that folder the appropriate read/write and owner/group permissions and leave
> its parent /var/log with root-only or similar access.
>
> PS. I should have said re-run -k parse when you think you have resolved the
> issues. Sometimes a major problem causes early abortand later problems
> remain hidden.
>
> Amos
>



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

  Powered by Linux