spamassassin-dev November 2011 archive
Main Archive Page > Month Archives  > spamassassin-dev archives
spamassassin-dev: [Bug 6709] New: sa-update: Use umask 022 as de

[Bug 6709] New: sa-update: Use umask 022 as default and add a --umask option

From: <bugzilla-daemon_at_nospam>
Date: Sun Nov 27 2011 - 16:50:56 GMT
To: dev@spamassassin.apache.org

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6709

             Bug #: 6709
           Summary: sa-update: Use umask 022 as default and add a --umask
                    option
           Product: Spamassassin
           Version: 3.3.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sa-update
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: idl0r@qasl.de
    Classification: Unclassified

Using a global umask of 077 and running sa-update results into rules/dirs to be
u=rwx,g=,o=. I found a old debian bug which seems to be related
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491232 .
Not sure if this has ever been forwarded to you guys...

I think sa-update should use by default a umask of 022 and also provide a
option to set a custom umask by using e.g. --umask 077.

I guess in the most cases rules/dirs should have 022.

-- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.