checking permissions for mailman

Todd Zullinger tmz at pobox.com
Sun Jul 8 16:22:46 UTC 2007


Scott Berry wrote:
> Hello there,
> when I check permissions for mailman using the 
> "/usr/lib/mailman/check_perm" script I gett the following:
> [root at pilotalk bin]# /usr/lib/mailman/bin/check_perms
> Traceback (most recent call last):
> File "/usr/lib/mailman/bin/check_perms", line 382, in <module>
>   checkarchives()
> File "/usr/lib/mailman/bin/check_perms", line 216, in checkarchives
>   print _("""\
> NameError: global name '_' is not defined
>
> Why would I be getting this?

This is a bug in the Fedora package.  There is a patch which changes
_( to C_( for better internationalization support, and that patch
missed this instance.  It's been fixed in rawhide (fedora devel), but
hasn't been pused to F-7 as of yet.

You can correct this by edting /usr/lib/mailman/bin/check_perms and
changing _( to C_( on line 216.  After doing this on my F-7 box, the
output I get on a freshly installed mailman is:

# ./check_perms
Warning: Private archive directory is other-executable (o+x).
         This could allow other users on your system to read private archives.
         If you're on a shared multiuser system, you should consult the
         installation manual on how to fix this.
No problems found

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nothing says, "Obey me!" like a bloody head on a fence post.
    -- Stewie Griffin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070708/b2ed562d/attachment-0001.sig>


More information about the fedora-list mailing list