[pmwiki-users] working directory

Patrick R. Michaud pmichaud at pobox.com
Tue Feb 21 14:37:17 CST 2006


On Tue, Feb 21, 2006 at 02:16:56PM -0600, Patrick R. Michaud wrote:
> On another note, Hagan Fox once remarked that it would be nice to 
> put all of these writable directories (wiki.d/, uploads/, work.d/) 
> into a single directory -- something like:
> 
>     pmwiki/
>       pmwiki.php
>       local/
>       scripts/
>       cookbook/
>       pub/
>       data/
>         uploads/
>         work.d/
>         wiki.d/
>       wikilib.d/

For a variety of reasons -- most notably the difficulty in getting
$UploadDir and $UploadUrlFmt to work properly across platforms,
clean urls, and upgrades -- I'm now thinking that uploads/ is
special enough to deserve staying at the root.  

However, uploads/ could then also be part of the distribution, and 
the wiki administrator sets its permissions to be 777 or 2777 as part of
enabling uploads/  (same as what is done for the data/ directory).

This would also resolve the issue of creating per-group
subdirectories in uploads/ on safe_mode installations.

Pm




More information about the pmwiki-users mailing list