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

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



[Replying to list]

Re: David Champion 2007-03-16 <20070316125043.GU10373@xxxxxxxxxxxxxxxxxxx>
> >      case DT_NUM:
> > +      if (mutt_strcmp (p->option, "umask") == 0)
> > +   umask(Umask_orig | p->init);
> > +      /* fallthrough */
> 
> Maybe change from $umask to a umask command?
>       set umask=0007
> becomes
>       umask 0007
> 
> It would avoid this quirk in the set code.  I can think of one
> drawback: can't do
>       set my_umask=$umask
> to change and restore umask.  But I'm not sure whether that's
> a common need.

It would be nice to have. For example I could want different $umask
settings for saved attachments and new folders. Or a macro "save
attachment word-readable".

Christoph
-- 
cb@xxxxxxxx | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature