<br><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 11:59 AM, Indy Singh <span dir="ltr">&lt;<a href="mailto:indy@indigostar.com">indy@indigostar.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The problem is that the second script does not have permission to delete the log files.  I have found that this is because the two scripts run under a different used id.  The cgi-bin scirpt runs as me, the second script runs as &#39;Apache&#39;.</blockquote>
<div><br>Please give the &#39;ls -l&#39; of the log file. I suspect that it&#39;s only the unix&#39;s file permission problem. <br><br>Also keep in mind that if the 2nd script might not be able to delete the log file unless you do some log rotates. <br>
<br>cheers<br><br><br><br> <br></div></div>