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

Re: HOW to set the UMASK?



On Tue, May 13, 2008 at 09:26:55AM -0500, Kyle Wheeler wrote:
> On Saturday, May 10 at 01:13 AM, quoth Michelle Konzack:
> >Hello,
> >
> >My system is setup to use a UMASK=002 on my  Maildir  (procmail  do  the
> >right thing) but if I read the messages with mut, they are after reading
> >0600 and can not more read fro another account.
> >
> >How can this solved?
> 
> Well, mutt attempts to preserve the umask of any mailbox that it 
> reads. The only reason I can think of that it would get that wrong is 
> if the stat() call on the mailbox failed. Try running mutt in debug 
> mode and see if you get a line that says "stat failed on xxxxx" (where 
> xxxxx is the name of the mailbox you're reading).

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?

best regards
keld