Patrick R. Michaud
pmichaud at pobox.com
Wed Sep 13 20:30:34 CDT 2006
On Wed, Sep 13, 2006 at 07:32:27PM -0500, JB wrote:
> Just tried to restore a wiki farm from a backup.
> The wiki.d has problems.
> What if I have a hundred wikis on a farm?
> Cannot restore also restore the ownership, etc
> of the wiki.d?
On a Unix/Linux system, if wiki.d/ was originally
owned by a different account, then superuser privileges
are needed to restore file ownerships. (That's just the
way that Unix works -- only superuser can change or set
However, it's not necessary for the webserver to
own all of the files in wiki.d/, just that it be able
to write to the wiki.d/ directory. So, one approach
is to let the webserver create a new (empty) wiki.d/
directory, and then copy the files from the backup
into wiki.d/ .
As long as PmWiki can read the files in wiki.d/, and
has write permission to wiki.d/ itself, then it will
work everything out from there.
More information about the pmwiki-users