[Mailman-Users] moved lists and now they don't work

Mark Sapiro msapiro at value.net
Fri Jun 22 01:15:55 CEST 2007


carconni wrote:
>
>Thank you, moving public out of the /var/mailman/archives/public  
>directory helped, now I can see my lists but I've lost my archives  
>and it doesn't seem to matter how many times or where I run /usr/ 
>share/mailman/bin/check_perms -f, I'm still getting these crazy  
>errors on various tasks:
>
<snip>
>IOError: [Errno 2] No such file or directory: '/private/var/mailman/ 
>archives/private/ui.mbox/ui.mbox'


So there is no '/private/var/mailman/archives/private/ui.mbox/ui.mbox'
file. Did you move it? It should exist.


<snip>
>IOError: [Errno 2] No such file or directory: '/private/var/mailman/ 
>archives/private/blogsafety-requests.mbox/blogsafety-requests.mbox'


Likewise
'/private/var/mailman/archives/private/blogsafety-requests.mbox/blogsafety-requests.mbox'.


<snip>
>IOError: [Errno 13] Permission denied: '/private/var/mailman/archives/ 
>private/tvguide-requests/index.html'


What are the permissions on this path? They should be similar to

[msapiro at sb7 var]$ ls -ld mailman
drwxrwsr-x  19 root mailman 4096 Mar  3 21:02 mailman/
[msapiro at sb7 var]$ ls -ld mailman/archives
drwxrwsr-x  4 root mailman 4096 Mar 21  2005 mailman/archives/
[msapiro at sb7 var]$ ls -ld mailman/archives/private
drwxrws--x  74 root mailman 4096 May  4 09:30 mailman/archives/private/
[msapiro at sb7 var]$ ls -ld mailman/archives/private/gpc-test
drwxrwsr-x  14 msapiro mailman 4096 Apr  4 03:27
mailman/archives/private/gpc-test/
[msapiro at sb7 var]$ ls -l mailman/archives/private/gpc-test/index.html
-rw-rw-r--  1 msapiro mailman 4899 Apr  3 08:56
mailman/archives/private/gpc-test/index.html


The owner (root, msapiro) is not important, but the group should be
mailman in every case.


<snip>
>   File "/usr/share/mailman/Mailman/Archiver/Archiver.py", line 55,  
>in breaklink
>     os.unlink(link)
>OSError: [Errno 1] Operation not permitted: '/private/var/mailman/ 
>archives/public/engineering'


Is '/private/var/mailman/archives/public/engineering' a symlink to
'/private/var/mailman/archives/private/engineering'? That's what it
should be.

What are the permissions on /private/var/mailman/archives/public? They
should be similar to

[msapiro at sb7 var]$ ls -ld mailman/archives/public
drwxrwsr-x  2 root mailman 4096 May  4 09:30 mailman/archives/public/


-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list