<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On page<br>
<a class="moz-txt-link-freetext" href="http://ttc.org.nz/pmwiki/pmwiki.php/Photos/Test">http://ttc.org.nz/pmwiki/pmwiki.php/Photos/Test</a><br>
I get<br>
<h3>PmWiki can't process your request</h3>
<p class="vspace">PmWiki needs to have a writable <tt>/home/ttc/public_html/pmwikiuploads/Photos/TemplateUpload/</tt>
directory before it can continue. You can create the directory manually
by executing the following commands on your server: </p>
<pre> mkdir /home/ttc/public_html/pmwikiuploads/Photos//home/ttc/public_html/pmwikiuploads/Photos/TemplateUpload
chmod 777 /home/ttc/public_html/pmwikiuploads/Photos//home/ttc/public_html/pmwikiuploads/Photos/TemplateUpload</pre>
<br>
I don't believe these command are correct, but what I am trying to
achieve is for this to happen without this error message.<br>
<br>
My ISP has been kind enough to set safe_mode_gid On and I have enabled
diag on the above page.<br>
File permissions for /Photos/ is set to 777<br>
<br>
The environment is PHP v4.3.10, System Linux turtle 2.6.12.6-xen <br>
Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-18 mod_perl/1.29<br>
latest version of PmWiki beta<br>
I use $UploadPrefixFmt = '/$Group/$Name';<br>
<br>
<br>
I have read <br>
<a class="moz-txt-link-freetext" href="http://pmwiki.org/wiki/PmWiki/Uploads">http://pmwiki.org/wiki/PmWiki/Uploads</a><br>
<a class="moz-txt-link-freetext" href="http://pmwiki.org/wiki/PmWiki/UploadsAdmin">http://pmwiki.org/wiki/PmWiki/UploadsAdmin</a><br>
<a class="moz-txt-link-freetext" href="http://pmwiki.org/wiki/PmWiki/FilePermissions">http://pmwiki.org/wiki/PmWiki/FilePermissions</a><br>
<br>
the latter implies there is no solution to my problem,<br>
but I'm not familiar with Unix,<br>
so my question is<br>
<br>
is there anything else I can do (save turning off safe mode which my
ISP won't do) to permit PmWiki to create directories into which it can
write?<br>
<br>
I have a corollary question (don't answer it until you've answered the
above) and that is,<br>
if this is a problem for other people would it be reasonable/possible
to add a recipe/feature where one (a webmaster) could manually create a
number of directories that PmWiki could then use (assuming it can
rename them) so that from the user's point of view it just works ?<br>
<br>
thanks in advance<br>
Simon<br>
<br>
<br>
</body>
</html>