<<< Date Index >>>     <<< Thread Index >>>

Re: saving attachments with 0644 permissions



On 2006-03-02 at 12:49 +0100, Keld Jørn Simonsen wrote:
> When I save attachments of mail, or mails in general, they
> get permission 0600 - I would like that to be 0644.
> How can I do that?

It's not a config option.

If you're willing to risk having potentially _everything_ be mode 0644,
then edit the source; file main.c, function main(), there's a line
looking something like:

  umask (077);

Change the value to 022.

If you're going to do this, then I strongly recommend first setting
"tmpdir" in your .muttrc, to point to a private tmp directory which has
permission 0700.  That will minimise some of the pain.
-- 
I am keeping international relations on a peaceable footing.
You are biding your time before acting.
He is coddling tyrants.
 -- Roger BW on topic of verb conjugation