Mike -- ...and then Mike Arrison said... % % Mutters, % In my muttrc I have the following macro: % % # Add a macro to prepend a default directory % macro attach s <save-entry><bol>~/public_html/<eol>
Right. % % So obviously, I want to download my attachments from a web % browser. The problem is that my umask isn't lenient enough, and the Yep. % attachments end up with 0600 permissions. Is there anyway to add a That's definitely a feature; in general you don't want pieces of your mail being readable by anyone else. % default permission setting of 0644 for attachment saves? Or even a % macro that would issue the chmod? I don't use the attachment menu but instead have a little script called wmunpack (attached) which wraps munpack with a umask and a cd to the proper directory based on command-line flags (word docs go into a doc dir). The problem with macro-ing a chmod is figuring out the filename to chmod to put into your macro; it's wasteful, but as an alternative you might be able to add "<shell-escape>chmod a+r ~/public_html/*" to your macro and just add read perms to everything whenever you save to the dir. Hmmm... No, that probably won't work unless you also tack in an <enter> and accept whatever filename is provided, 'cuz otherwise you'll have junk thrown on the line that you don't really want. % % -Mike Arrison HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg28917/pgp00000.pgp
Description: PGP signature