[Mailman-Users] Everything's a bug?

Jeme A Brelin jeme at brelin.net
Sat Aug 12 04:14:21 CEST 2000


On Fri, 11 Aug 2000, Dan Mick wrote:
> >   File "/usr/local/mailman/Mailman/Logging/Logger.py", line 55, in __get_f
> >     f = self.__fp = open(self.__filename, 'a+')
> > IOError: [Errno 13] Permission denied: '/usr/local/mailman/logs/error'
> > 
> > Can I get a hint (or a clue)?
> 
> It seems like this is a HUGE clue: "Permission denied".

Yes, of course that's a huge clue.  I got a bit hasty in composing my
original message.

> So, uh, what are the permissions of the program which is
> running, and the permissions of the directory and file?

Lemme show you the two that you kept from the excerpt:
-rw-r--r--    1 mailman  mailman   2494 Aug 11 18:11 /usr/local/mailman/Mailman/Logging/Logger.py
drwxrwsr-x    2 mailman  mailman   1024 Aug 11 18:08 /usr/local/mailman/logs/

/usr/local/mailman/logs/error does not exist.

I touched the file and changed its perms so now we have this:
-rw-rw-r--    1 mailman  mailman      0 Aug 11 19:11 /usr/local/mailman/logs/error

This changed nothing.  The output is exactly the same.

I do have suexec enabled.  I'm a bit concerned because this makes all cgi
run as the user that owns it (rather than the webserver user).  The
INSTALL file specifically warns against running some things with the
mailman GID.  Unfortunately I need suexec.  Are they incompatible?

Now what do you think?

J.
-- 
   -----------------
     Jeme A Brelin
    jeme at brelin.net
   -----------------
 [cc] counter-copyright
 http://www.openlaw.org





More information about the Mailman-Users mailing list