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

Re: [PATCH] Add $umask for mailboxes and attachments



So how about the following strategy for $umask:

1. I back out my patch

2. we save the existing $umask when setting it to 077 in main
3. we temporarily restore that umask for saving attachments and pipe
   commands
4. we create new mailboxes unconditionally as 077, but use the
   permissions of the existing mailbox when updating it. This works
   for mbox, but we would need to stat the root directory of
   maildir/mh and save that mode when updating.

Attachment: pgpsa7KgWdECn.pgp
Description: PGP signature