[Mailman-Users] check_perms failing: No such file or directory: '/var/lib/mailman/archives/public/maillist'

admin2 admin2 at enabled.com
Mon May 25 01:15:22 CEST 2009


Hi there,

I am not clear why check_perms are failing.  The error claims 
'/var/lib/mailman/archives/public/maillist' directory does not exist. 
but an 'ls' reveals it does.



/var/lib/mailman/archives/public/maillist bad group (has: mailman, 
expected list) (fixing)
Traceback (most recent call last):
   File "./check_perms", line 380, in <module>
     checkall()
   File "./check_perms", line 196, in checkall
     os.path.walk(d, checkwalk, STATE)
   File "/usr/lib/python2.5/posixpath.py", line 298, in walk
     walk(name, func, arg)
   File "/usr/lib/python2.5/posixpath.py", line 298, in walk
     walk(name, func, arg)
   File "/usr/lib/python2.5/posixpath.py", line 290, in walk
     func(arg, top, names)
   File "./check_perms", line 124, in checkwalk
     os.chown(path, -1, MAILMAN_GID)
OSError: [Errno 2] No such file or directory: 
'/var/lib/mailman/archives/public/maillist'
root at enabled:/var/lib/mailman/bin# ls -l 
/var/lib/mailman/archives/public/maillist
lrwxrwxrwx 1 80 mailman 44 Dec 13  2005 
/var/lib/mailman/archives/public/maillist -> 
/usr/local/mailman/archives/private/maillist
root at enabled:/var/lib/mailman/bin# ls -l 
/var/lib/mailman/archives/private/maillist
total 456
drwxrwsr-x  2 mailman list   4096 Jan  1  2006 2005-December
-rw-r--r--  1 mailman list  27928 Jan  1  2006 2005-December.txt
-rw-r--r--  1 mailman list  10038 Jan  2  2006 2005-December.txt.gz
drwxrwsr-x  2 mailman list   4096 Apr  5  2006 2006-April
-rw-r--r--  1 mailman list    604 Apr  5  2006 2006-April.txt
-rw-r--r--  1 mailman list    464 Apr  6  2006 2006-April.txt.gz
drwxrwsr-x  2 mailman list   4096 Aug  8  2006 2006-August
-rw-r--r--  1 mailman list   4084 Aug  8  2006 2006-August.txt
-rw-r--r--  1 mailman list   2218 Aug  9  2006 2006-August.txt.gz
drwxrwsr-x  2 mailman list   4096 Feb 28  2006 2006-February
-rw-r--r--  1 mailman list 160434 Feb 28  2006 2006-February.txt
-rw-r--r--  1 mailman list  48348 Mar  1  2006 2006-February.txt.gz
drwxrwsr-x  2 mailman list   4096 Jan 18  2006 2006-January
-rw-r--r--  1 mailman list  55258 Jan 18  2006 2006-January.txt
-rw-r--r--  1 mailman list  19536 Jan 19  2006 2006-January.txt.gz
drwxrwsr-x  2 mailman list   4096 Jun 26  2006 2006-June
-rw-r--r--  1 mailman list   7472 Jun 26  2006 2006-June.txt
-rw-r--r--  1 mailman list   3327 Jun 27  2006 2006-June.txt.gz
drwxrwsr-x  2 mailman list   4096 Mar 20  2006 2006-March
-rw-r--r--  1 mailman list  27910 Mar 20  2006 2006-March.txt
-rw-r--r--  1 mailman list   7689 Mar 21  2006 2006-March.txt.gz
drwxrwsr-x  2 mailman list   4096 May  2  2006 2006-May
-rw-r--r--  1 mailman list   6626 May  2  2006 2006-May.txt
-rw-r--r--  1 mailman list   3241 May  3  2006 2006-May.txt.gz
drwxrwsr-x 34 mailman list   4096 Jun 26  2006 attachments
drwxrws---  2 mailman list   4096 Aug  8  2006 database
-rw-r--r--  1 mailman list   4013 Aug  8  2006 index.html
-rw-r-----  1 mailman list    992 Aug  8  2006 pipermail.pck

# python -V
Python 2.5.2


More information about the Mailman-Users mailing list