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

Re: [cobalt-users] [RaQ550] Webalizer stats eating up users quota



On Mon, 23 Feb 2004, Robert Roose wrote:

> Hi,
>
> I'm starting to notice that a lot of virtual sites on our server with only 2 mb of quota are generating quota errors because the stats directory is getting bigger and bigger.
>
> I changed the owner of the stats directory on a test site to httpd.httpd instead of httpd.site## and the quota was accurate.
>
> Is there a way to do this for every virtual site on the server without breaking the rights of the other files?

Try something like
chgrp root /home/sites/*/logs/* should do the trick.

Should be done in cron after the log rotation and all that other magic
crud that cobalts do around 4 am...

Thom

http://www.baltimorehon.com/            Home of the Baltimore Lexicon
http://www.tlchost.net/              Web Hosting as low as 3.49/month