I know this is a very stupid questing but I keep on having problems
I use procmail to create a public accessable archive of some mailing
lists. The mails are automatically put into files named like
$list.$month. The problem is that normally the files are not readable
by everybody since they have mode 0400.
Setting UMASK=022 ends up in files that are executable - also readable
So this is the wrong umask, but which is the correct one?
Beware of bugs in the above code; I have only proved it correct,
not tried it. -- Donald E. Knuth