[pmwiki-users] setting permissions after a server crash

Patrick R. Michaud pmichaud at pobox.com
Mon Mar 14 09:35:17 CST 2005


[Pm catches up on a backlog of posts.]

On Thu, Feb 17, 2005 at 07:34:53AM -0500, John Coxon wrote:
> My host, once again has suffered a crash. This time his hard drive died 
> and he was unable to rescue a copy of my site.
> 
> After the earlier crash he changed all files and folders to group = 
> apache. This worked but I have no idea if it was good practice. Should 
> I have him do this for me again or is there a better solution? 

In general you don't want your files and folders to be group = apache,
because you lose the ability to edit and overwrite them.  However,
PmWiki v2 is much smarter about permissions and can now generally handle
the case where it encounters files with changed ownerships/permissions,
or at least give the administrator an idea of what to do to fix things
when a problem occurs.  So, I'd say to leave the ownerships and
permissions alone.

I've also posted my previous message about PmWiki file permissions and
ownerships to http://www.pmwiki.org/wiki/PmWiki/FilePermissions .  It's
still not a complete description, but it covers the basics.

Pm



More information about the pmwiki-users mailing list