[Mailman-Users] Bug in Mailman version 1.0b8

Harald Meland Harald.Meland at usit.uio.no
Tue Feb 9 19:16:45 CET 1999

[Harry Mangalam]

> The only thing that looks odd is the line which says:
>                         /home/httpd/html/yeast 

PATH_TRANSLATED is just a CGI convenience variable (DOCUMENT_ROOT and
PATH_INFO concatenated), and isn't used by Mailman.

> this path does not exist - and it doesn't look like there's anything in
> the setup docs that would have me set up a link to the DOCUMENT_ROOT. 
> Did I miss something?

No, the problem is elsewhere.

> Traceback (innermost last):
>   File "/home/mailman/scripts/driver", line 85, in run_main
>     logger = StampedLogger('error',

The "driver" script is started from the various CGI compiled C
wrappers (e.g. "admin", "listinfo") if the paranoia (security) checks
(e.g. "Am I running under the correct GID?") are passed.

As "driver" starts up, it (nearly always) tries to get a (writable)
StampedLogger object corresponding to the "~mailman/logs/error" log...

>   File "../Mailman/Logging/StampedLogger.py", line 48, in __init__
>     Logger.__init__(self, category, nofail, immediate)
>   File "../Mailman/Logging/Logger.py", line 40, in __init__
>     self.__get_f()
>   File "../Mailman/Logging/Logger.py", line 63, in __get_f
>     reraise()
>   File "../Mailman/Logging/Logger.py", line 55, in __get_f
>     f = self.__fp = open(self.__filename, 'a+')
> IOError: (13, 'Permission denied')

... but this fails due to insufficient permissions.

In my installation, the permissions relevant to this file are:

  $ ls -ld logs logs/error 
  drwxrwsr-x   2 mailman  mailman       512 Jan  4 15:50 logs
  -rw-rw-r--   1 mailman  mailman    129184 Feb  9 14:22 logs/error

, the important part being the writability for group "mailman".


More information about the Mailman-Users mailing list