<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h3
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:13.5pt;
        font-family:"Times New Roman";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Tahoma;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
p.section1, li.section1, div.section1
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>Dear members,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>We are starting to get the odd &#8216;Permission
denied&#8217; error in our Wiki when submitting an edit, see below.&nbsp; This
does not happen very often, but when it does if you resubmit the edits again it
works!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>************* Example of errror ************************<o:p></o:p></span></font></p>

<p class=MsoNormal><b><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt;font-weight:bold'>Warning</span></font></b><span
lang=EN-GB>: rename(wiki.d/.pageindex,new,wiki.d/.pageindex) [<a
href="http://intranet/pmwiki.php/Products/function.rename"
title="http://intranet/pmwiki.php/Products/function.rename">function.rename</a>]:
Permission denied in <b><span style='font-weight:bold'>E:\Apache2\htdocs\pmwiki\scripts\pagelist.php</span></b>
on line <b><span style='font-weight:bold'>433</span></b><o:p></o:p></span></p>

<h3><b><font size=4 face="Times New Roman"><span lang=EN-GB style='font-size:
13.5pt'>PmWiki can't process your request<o:p></o:p></span></font></b></h3>

<p><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'>no
such file<o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'>We
are sorry for any inconvenience.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>************* End of Example errror
************************<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>I&#8217;ve attached a &#8216;Print&#8217; view of our
Wiki configuration &#8211; it&#8217;s obviously a Wiki page itself &#8211; what
else!&nbsp; In summary, server-side it&#8217;s an Intranet running Windows
Server 2003 SP1, PmWiki 2.1.11 and Apache.&nbsp; Our Wiki is just over 1200
pages, of which an average change/edit rate is around 200 per month &#8211;
around 30 authors.&nbsp; We&#8217;ve run this configuration for a long time now
(over 12 months) and it works great :-)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>The above problem is being reported at an increasing
interval so I assume it may be a race condition or something to do with
concurrent access due to its increasing usage.&nbsp; The effected code &#8216;line
433 of pagelist.php&#8217; is below.&nbsp; Please note that I have not modified
the PmWiki code at all apart from the &#8216;normal&#8217; customisations as
attached.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span lang=EN-GB
style='font-size:12.0pt;font-family:"Courier New"'>432:&nbsp; if
(file_exists($PageIndexFile)) unlink($PageIndexFile); <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span lang=EN-GB
style='font-size:12.0pt;font-family:"Courier New"'>433:&nbsp;
rename(&quot;$PageIndexFile,new&quot;, $PageIndexFile);<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span lang=EN-GB
style='font-size:12.0pt;font-family:"Courier New"'>444:&nbsp;
fixperms($PageIndexFile);<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span lang=EN-GB
style='font-size:12.0pt;font-family:"Courier New"'>445:&nbsp; $c =
count($updated);<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span lang=EN-GB
style='font-size:12.0pt;font-family:"Courier New"'>446:&nbsp;
StopWatch(&quot;PageIndexUpdate end ($c updated)&quot;);<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span lang=EN-GB
style='font-size:12.0pt;font-family:"Courier New"'>447:&nbsp; ignore_user_abort($abort);<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span lang=EN-GB
style='font-size:12.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Does anyone have any thoughts on what is going on
and/or pointers on how to fix it?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Thanks in advance,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>-Steve.</span></font><font face="Courier New"><span
lang=EN-GB style='font-family:"Courier New"'><o:p></o:p></span></font></p>

</div>

</body>

</html>