[Pmwiki-users] Fwd: about the makeWikiPage script...
Patrick R. Michaud
pmichaud
Sat Sep 27 09:44:48 CDT 2003
On Wed, Sep 24, 2003 at 10:58:40AM -0400, Crisses wrote:
>
> Alternatively, I was wondering if PmWiki might not be able to run a
> script that grabs text files created by a procmail recipe in a special
> folder:
> [...steps omitted for brevity...]
> This helps preserve recent changes, all recent changes, etc. in the
> wiki...otherwise the new pages created are entirely orphaned.
This is a good idea--and should be easy to add as a module or cookbook
item. I'll see about writing something to do this.
> As for the changing of ownership/permissions on files by using a
> cronjob: I'm unlikely to get my hosting service to allow me to add a
> cronjob that runs every 5 minutes to reset ownership of files...is this
> necessary? Is there another way of doing that portion automatically?
Have you tried the fixperms.php script added in pmwiki-0.5.15?
Every time a page is accessed (browse, edit, etc.), the script checks
the permissions of that page's file and attempts to repair the
the permissions/ownership if they aren't correct.
Pm
More information about the pmwiki-users
mailing list