Ari Ryyn nen <ari(_dot_)ryynanen(_at_)ccc(_dot_)fi> writes:
I have a problem :) My procmail script works fine, but how can I change
permissions on file it creates so that others in my group could read and
write to that file? Here's the beef^H^H^H^Hfile:
:0
* ^Subject:.*cats[^t]
{
:0 fhw
| formail -z -x Subject:
:0
*
./data/.
}
Procmail sets its umask to 077 when it starts up. You need to change
it to 022 before the second of the nested recipes. You can do so by
assigning the desired value to the UMASK variable:
UMASK = 022
I assume that the empty condition on the nested recipe is a place holder.
If not, you should remove it, because it doesn't do anything.
Philip Guenther