On Fri, May 04, 2001 at 12:42:24PM +0300, Andrew W. Nosenko wrote:
> Mike Broome wrote:
> : On Wed, May 02, 2001 at 04:46:36PM -0400, Rich Lafferty wrote:
[...]
> : > What I imagine is this: mbox_umask and attach_umask default to
> : > 077. If the user explicitly configures mbox_umask to be
> : > something else, that's used when creating mailbox
> : > files/maildirs.
[...]
> : > Does that sound reasonable?
> :
> : I would also want attach_umask to be applied before piping a message or
> : executing a shell command.
[...]
> I don't believe what you _really_ needed share all your mailboxes
> with your coworkers. If you need share _one_ (two, three, ...)
> mailboxes (with some mailing list archive, for example), then you
> can create this mailbox and do `chmod g+r ...' (or `chmod +r ...' if
> you wand make lucky all world ;-). But *never* mind about make
> umask in Mutt another than 077! I don't want patch Mutt every
> release for removing these or similar options.
The idea is not to alter the current bahaviour, but just to give the
user the option of overriding it. The default would still be to have
a umask of 077, but be alterable via .muttrc should a particular user
(like me) want something different. There wouldn't be any need to
patch Mutt, just don't use the new option(s).
The suggestions that Rich Lafferty and Mike Broome seem pretty good to
me.
Mark.