On Sunday, 18 May 2008 at 19:34, Keld Jørn Simonsen wrote: > On Sun, May 18, 2008 at 12:13:06PM -0500, Kyle Wheeler wrote: > > On Saturday, May 17 at 10:42 PM, quoth Keld Jørn Simonsen: > > > I have a related problem, when I create files from mutt they are > > > 600, I would lke them to be 644. My umask is 022. Is there anything > > > I can do to have my new files 644? > > > > Modify main.c. Mutt *ALWAYS* calls umask(077) before doing anything, > > so you'd need to either remove that call from the main.c or you'd need > > to modify it to suit your needs. > > I see. Would it be possible to add some command to .muttrc to override > this? eg a umask command? That would be easier for me and others needing > this functionality than recompiling the sources every time mutt is used > on a new system. > > Or maybe a "set no_mutt_umask=yes" to just keep the umask of the environment.
There was a (very) long discussion of this a year ago, including a patch. Rather than repeating history, let me point you to: http://lists.df7cb.de/mutt/message/20070303.051241.22a57515.en.html