[Moin-user] Problem editing pages when superuser

Thomas Waldmann tw-public at gmx.de
Fri Jan 27 10:05:05 EST 2006


> So I've just encountered a new problem with my Wiki, namely, when I'm
> logged in as the super user, I can't save any page edits.  I get the edit
> screen, but when I click any button--Save, Preview, Check Spelling,
> whatever, I get the following error:
> 
> [Errno 1] Operation not permitted:
> '/usr/share/moin/wikiinstance/data/pages/SuperUser(2f)MoinEditorBackup/revisions/00000001'

This rather looks like a problem in the filesystem (access rights: 
owner, mode, posix ACLs, ...) than a wiki or wiki acl / superuser 
related problem.

Maybe just remove the 
/usr/share/moin/wikiinstance/data/pages/SuperUser(2f)MoinEditorBackup
directory completely and try again.

> I have no trouble editing either anonymously, or when logged in as a
> non-super user.

It just uses another page for the backup then (or doesnt make a backup 
at all).

> I'm running the wiki (here: http://reluctantexpatriates.com/library) on
> Linux (White Box)/Apache (2.0) using mod_python, w/ admin root access. 
> Ownership on all files/dirs is root:apache, and permissions are 770. 
> (Permissions/ownership only valid at the /usr/share/moin directory and
> deeper.)

Please check if that is really the case for THAT path mentioned above. 
And maybe use your web server user "apache" as owner, not root (although 
it should be ok with the group rights).





More information about the Moin-user mailing list