> To sum it up again: I think that this patch contains a worthwhile
> idea, but I don't think it is finished already. Take the idea
> further and then create a patch that solves the issue more
> completely.
This would result in big patch, and time to review patch is far from
being linear on it's size. But as you wish.
When I started working on patch, which would extract file creation
with `m_gmprot', I asked myself more general question -- what is the
point of `m_gmprot'?
$ man mh-profile
Msg-Protect:0644
An octal number which defines the permission bits for new
message
files. See chmod(1) for an explanation of the octal number.
(profile, default: 0600)
In code, it is passed to umask(2) anyway. So, as I understand matter,
Msg-Protect is just a way to specify mmh-local umask.
If my understanding is correct, we can eliminate it fully. If not, please,
I need clarification.
I find it clear, that application-local umask is task of shell, not
application itself.