[moin-user] Can't install package: "Unhandled Exception"

Paul Boddie paul at boddie.org.uk
Sun Jul 2 18:52:13 EDT 2017


On Sunday 2. July 2017 23.39.13 Volker Wysk wrote:
> 
> Yes, you're probably right. But which user name does the package installer
> use?

Typically, you get the user reported as "Scripting subsystem" in the 
RecentChanges output. However, that is a constructed name for the purposes of 
logging the edits.

[...]

> I have this in my wikiconfig.py:
> 
>     superuser = [u"v", ]
>     acl_rights_before = u"v:read,write,delete,revert,admin All:"
> 
> User "v" has all rights, and all others are locked out.

So the problem is that even the package installer cannot write to the wiki. 
Interestingly, I have a similar configuration for a wiki I routinely update 
using the installer, with the only significant difference being "All:read" in 
my case.

> So this looks like the package installer logs in a as an other user. But
> which one?

I'm not entirely sure, and looking at the 1.9 and 1.8 code (which differ in 
the way they set up the machinery, with 1.8 being arguably easier to follow), 
I can't track this down at the moment. Maybe with a bit more energy tomorrow 
I'll figure it out.

Paul


More information about the moin-user mailing list