You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Axb <ax...@gmail.com> on 2012/02/17 09:15:28 UTC

SA 3.4.x trunk: bayes_file_mode (default: 0700)

On SA 3.4. trunk, according to

http://spamassassin.apache.org/full/3.3.x/doc/Mail_SpamAssassin_Conf.txt

________
bayes_file_mode (default: 0700)
         The file mode bits used for the Bayesian filtering database files.

         Make sure you specify this using the 'x' mode bits set, as it may
         also be used to create directories. However, if a file is created,
         the resulting file will not have any execute bits set (the umask is
         set to 111). The argument is a string of octal digits, it is
         converted to a numeric value internally.
________

without a directive in local.cf I'm seeing it create files with 0600 
permissions.

Am I missing something? Can anybody reproduce?

Thanks

Re: SA 3.4.x trunk: bayes_file_mode (default: 0700)

Posted by Benny Pedersen <me...@junc.org>.
Den 2012-02-17 09:15, Axb skrev:

> bayes_file_mode (default: 0700)

rwx ?

> without a directive in local.cf I'm seeing it create files with 0600
> permissions.

should be enogh

> Am I missing something?

i hope not :)

> Can anybody reproduce?

no need here

Re: SA 3.4.x trunk: bayes_file_mode (default: 0700)

Posted by Kris Deugau <kd...@vianet.ca>.
Axb wrote:
> On SA 3.4. trunk, according to
>
> http://spamassassin.apache.org/full/3.3.x/doc/Mail_SpamAssassin_Conf.txt
>
> ________
> bayes_file_mode (default: 0700)
> The file mode bits used for the Bayesian filtering database files.
>
> Make sure you specify this using the 'x' mode bits set, as it may
> also be used to create directories. However, if a file is created,
> the resulting file will not have any execute bits set (the umask is
> set to 111). The argument is a string of octal digits, it is
> converted to a numeric value internally.
> ________
>
> without a directive in local.cf I'm seeing it create files with 0600
> permissions.

Looks correct to me;  necessary directories will be created with the 
default 0700 mode, files will be created without the execute bit for 0600.

-kgd