Bug 5771

Summary: umask issue in UnixNFSSafe.pm
Product: Spamassassin Reporter: Kevin Fenzi <kevin>
Component: LibrariesAssignee: SpamAssassin Developer Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal CC: apache
Priority: P5    
Version: 3.2.4   
Target Milestone: Undefined   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Kevin Fenzi 2008-01-07 15:38:08 UTC
After upgrading a machine that was happily running 3.2.3, I am seeing error
messages like: 

Jan  7 15:20:52 hostname spamd[6499]: Argument "M-HM-HM-H" isn't numeric in
umask at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Locker/UnixNFSSafe.pm
line 75.  

NFS is in user (users home dirs are on nfs).
Comment 1 Justin Mason 2008-01-08 01:55:37 UTC
do you have a

bayes_file_mode M-HM-HM-H

line in a config file somewhere?  that's not the valid format....
Comment 2 Postmaster 2008-01-08 02:28:50 UTC
(In reply to comment #0)

The problem is related to bayes_file_mode.

bayes_file_mode 755  --> error message
bayes_file_mode 0755 --> working fine
Comment 3 Kevin Fenzi 2008-01-08 10:04:21 UTC
Yeah, I can confirm the info from comment #2... 
I had a XXX bayes_file_mode, and with 0XXX it works. 
Comment 4 Henrik Krohns 2022-04-16 05:57:40 UTC
Make sure 0 is there just in case:

Sending        trunk/lib/Mail/SpamAssassin/Conf.pm
Transmitting file data .done
Committing transaction...
Committed revision 1899898.