Re: checking permissions for mailman

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Scott Berry wrote:
> Hello there,
> when I check permissions for mailman using the 
> "/usr/lib/mailman/check_perm" script I gett the following:
> [root@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

Attachment: pgpy7VX0o0tTd.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux