Differences between revisions 1 and 2
Revision 1 as of 2008-07-31 14:08:15
Size: 1339
Editor: dunxd
Comment:
Revision 2 as of 2008-08-01 21:34:07
Size: 134
Editor: rclemings
Comment: Page renamed to DOC/4.22 Messages that are translated from HTML to plain text are empty or have a body like ""-root-8e8Ta4- Permission denie
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/5603694
== 4.22. Messages that are translated from HTML to plain text have a body like ""/root/8e8Ta4: Permission denied" ==
Chances are you are running Mailman on a Red Hat version of Linux ...

Turns out that Red Hat decided to change the temporary directory that lynx uses to be the users home directory. Since qrunner is suid to mailman, the processes environment information it runs with is not actually mailman's (home directory, etc) ... so if you start qrunner when signed on as root, the processes home directory is still root's home directory (in my case '/root').... so, you have a process that has a home directory that it has no authority to write to.

To fix the problem, we have to change the temporary directory that lynx uses.

Change the HTML_TO_PLAIN_TEXT_COMMAND to the following ...

HTML_TO_PLAIN_TEXT_COMMAND = 'LYNX_TEMP_SPACE=/tmp /usr/bin/lynx -force_html -dump %(filename)s'

This causes the temporary directory that lynx will use to be /tmp (which, btw, is the default for a freshly built lynx).

(thanks to John Buttery for the modified lynx command)

''Last changed on Fri Jul 16 02:11:02 2004 by'' Brad Knowles
<<Color2(Converted from the Mailman FAQ Wizard, col=darkgreen)>>This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].
#REDIRECT DOC/4.22 Messages that are translated from HTML to plain text are empty or have a body like ""-root-8e8Ta4- Permission denie

MailmanWiki: DOC/4.22 Messages that are translated from HTML to plain text have a body like ""-root-8e8Ta4- Permission denied" (last edited 2008-08-01 21:34:07 by rclemings)