[Mailman-Users] Error:FW: Cron <mailman at web1> /usr/bin/python2 -S/usr/local/mailman/cron/disabled

Lucas Albers admin at cs.montana.edu
Tue Feb 18 02:05:06 CET 2003


Thanks for the information on the permissions in your lists directories.

I have made the following changes to the permissions on my lists files.
I now have the following permissions:
/usr/local/mailman/lists/*/config.pck
-rwxrwxr-x    1 apache   mailman

/usr/local/mailman/lists/*/config.pck.last
-rw-rw----    1 apache   mailman

/usr/local/mailman/lists/*/digest.mbox
-rw-rw----    1 mailman  mailman

/usr/local/mailman/lists/*/request.db
-rw-rw-r--    1 mailman  mailman

Permissions on the lists directory are:
/usr/local/mailman/lists/*
drwxrwsr-x    2 mailman  mailman



check_perm does not fix bad permissions on files in the lists directory.
I had to manually set these permissions.  When the cron jobs complete, I
will be able to tell if I have the correct permissions.
Check perms should check these permission on these directories and files,
and set them to the correct permissions.




> --Luke
> --Computer Science Sysadmin, MSU Bozeman 
> --admin(AT)cs.montana.edu 994-3931 

> -----Original Message-----
> From: Richard Barrett [mailto:r.barrett at openinfo.demon.co.uk]
> Sent: Monday, February 17, 2003 1:06 PM
> To: Lucas Albers; mailman-users at python.org
> Subject: Re: [Mailman-Users] Error:FW: Cron <mailman at web1>
> /usr/bin/python2 -S/usr/local/mailman/cron/disabled
> 
> At 18:41 17/02/2003, Lucas Albers wrote:
> >I keep on getting the following errors from mailman.
> >The permissions for that file are thus:
> >-rwxrwxr-x    1 apache   mailman      6023 Feb 14 10:03 config.pck
> >-rw-rw----    1 apache   mailman      6023 Feb 14 10:03 config.pck.last
> >-rw-rw----    1 mailman  mailman      3707 Feb 13 19:20 digest.mbox
> >-rw-rw-r--    1 apache   mailman        29 Feb 14 10:03 request.db
> >
> >Any idea what the permissions should be?
> >
> >
> > > --Luke
> > > --Computer Science Sysadmin, MSU Bozeman
> > > --admin(AT)cs.montana.edu 994-3931
> >
> >-----Original Message-----
> >From: Cron Daemon [mailto:root at web1.cs.montana.edu]
> >Sent: Monday, February 17, 2003 9:00 AM
> >To: mailman at web1.cs.montana.edu
> >Subject: Cron <mailman at web1> /usr/bin/python2
> >-S/usr/local/mailman/cron/disabled
> >
> >Traceback (most recent call last):
> >   File "/usr/local/mailman/cron/disabled", line 209, in ?
> >     main()
> >   File "/usr/local/mailman/cron/disabled", line 202, in main
> >     mlist.Save()
> >   File "/usr/local/mailman/Mailman/MailList.py", line 505, in Save
> >     self.__save(dict)
> >   File "/usr/local/mailman/Mailman/MailList.py", line 463, in __save
> >     fp = open(fname_tmp, 'w')
> >IOError: [Errno 13] Permission denied:
> >'/usr/local/mailman/lists/cs223/config.pck.tmp.web1.cs.montana.edu.19278'
> >
> 
> Mine look like this:
> 
> mailman at mailman2:/mailman/run/lists> ls -l
> total 16
> drwxrwsr-x    2 mailman  mailman      4096 Feb 17 12:14 rbtest
> mailman at mailman2:/mailman/run/lists> ls -l rbtest/
> total 64
> -rw-rw----    1 httpd    mailman      4023 Feb 17 12:14 config.pck
> -rw-rw----    1 httpd    mailman      4023 Feb 17 12:14 config.pck.last
> -rw-rw----    1 mailman  mailman      1502 Feb 17 12:07 digest.mbox
> -rw-rw-r--    1 mailman  mailman        29 Feb 10 15:19 request.db
> 
> Running $prefix/bin/check_perms might help clear things up.
> 
> The permissions on your list's config.pck definitely look wrong.





More information about the Mailman-Users mailing list