[Mailman-Users] Help with IOError: [Errno 13] Permission denied

JT luser at ahab.com
Tue Jun 26 23:16:52 CEST 2001


You need to make config.db readable by the user or group under which Apache runs...
usually "nobody".  Try
	egrep "(User|Group)" httpd.conf

You should probably run "check_perms" in the Mailman bin directory.  IIRC, it
can even correct permissions problems if run as root.

Also, rather than putting all of mailman into a public web directory, try 
	ScriptAlias /mailman/ "/path/to/mailman/cgi-bin/"
in your apache configuration.

Otherwise, remote users may be able to read your files, which could enable
them to do Bad Things.  Of course, this may not be true depending on your
installation...


On Wed, Jun 27, 2001 at 12:40:17AM +0530, Ram Prasad wrote:
> Hi !
> 
> Please help ! I am getting the following error ...
> 
> Kindly help me solve this problem
> ----------------------------------------------------------------
> 
> 
>    ----- The following addresses had permanent fatal errors -----
> "|/usr/local/apache/htdocs/mailman/mail/wrapper post announce"
>     (reason: 1)
>     (expanded from: announce at linux.megalinux.net)
> 
>    ----- Transcript of session follows -----
> Traceback (innermost last):
>   File "/usr/local/apache/htdocs/mailman/scripts/post", line 94, in ?
>     main()
>   File "/usr/local/apache/htdocs/mailman/scripts/post", line 73, in main
>     mlist = MailList.MailList(listname, lock=0)
>   File "/usr/local/apache/htdocs/mailman/Mailman/MailList.py", line 79, in
> __init__
>     self.Load()
>   File "/usr/local/apache/htdocs/mailman/Mailman/MailList.py", line 891, in
> Load
>     dict, e = self.__load(dbfile)
>   File "/usr/local/apache/htdocs/mailman/Mailman/MailList.py", line 868, in
> __load
>     fp = open(dbfile)
> IOError: [Errno 13] Permission denied:
> '/usr/local/apache/htdocs/mailman/lists/announce/config.db'
> 554 5.3.0 "|/usr/local/apache/htdocs/mailman/mail/wrapper post announce"...
> unknown mailer error 1
> 
> 
> ------------------------------------------------------
> Mailman-Users maillist  -  Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users




More information about the Mailman-Users mailing list