Bug 5771 - umask issue in UnixNFSSafe.pm
Summary: umask issue in UnixNFSSafe.pm
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 3.2.4
Hardware: PC Linux
: P5 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
Depends on:
Reported: 2008-01-07 15:38 UTC by Kevin Fenzi
Modified: 2022-04-16 05:57 UTC (History)
1 user (show)

Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
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.