Package: spamassassin
Version: 3.1.7-2
Severity: normal

auto_whitelist_file_mode uses an inappropriate umask (possibly the
user's umask, which by default is 022). This is in contradiction to the
documentation in man Mail::SpamAssassin::Plugin::AWL.

The documentation claims that I should have the x bits set in
auo_whitelist_file_mode, since it might be used to create directories as
well; AWL is supposed to mask the x bits out when creating files instead
of directories. However, what AWL actually does now is apply a umask of
022 regardless. For example, I had auto_whitelist_file_mode set to 0770,
but my ~/.spamassassin/auto-whitelist files get created with mode 0750
instead of the 0660 expected.

A quick Google search pulls up this resolved bug [1], whose fix may have
accidentally caused this broken behavior.

[1] http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4935

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages spamassassin depends on:
ii  libarchive-tar-perl           1.30-2     Archive::Tar - manipulate tar file
ii  libdigest-sha1-perl           2.11-1     NIST SHA-1 message digest algorith
ii  libhtml-parser-perl           3.55-1     A collection of modules that parse
ii  libsocket6-perl               0.19-1     Perl extensions for IPv6
ii  libwww-perl                   5.805-1    WWW client/server library for Perl
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

Versions of packages spamassassin recommends:
ii  libmail-spf-query-perl       1:1.999.1-2 query SPF (Sender Policy Framework
ii  libnet-dns-perl              0.59-1      Perform DNS queries from a Perl sc
ii  perl [libmime-base64-perl]   5.8.8-7     Larry Wall's Practical Extraction 
ii  spamc                        3.1.7-2     Client for SpamAssassin spam filte

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to