On Fri, Jan 23, 2015 at 01:41:57AM -0600, David Champion wrote: > * On 23 Jan 2015, Gary Johnson wrote: > > > #!/bin/sh > > > COPY="$1.firefox.html" > > > ln "$1" "$COPY" > > > /usr/bin/firefox "$COPY" & > > > > I'm surprised that linking works because it used to be that mutt > > overwrote the temporary file with 0s before deleting it. I thought > > it still did, but I don't know for sure. > > You're right, it does overwrite (at least for most cases). I don't > think this was always true, but it's been a very long time since I used > mailcap this way, so I'm pretty distant. > > So a hard link won't work. > OK, so I'll copy the file, not a big problem.
If the copied file is put somewhere in /tmp then it'll get cleared away at the next reboot. Confidentiality isn't a big issue, the only things I look at this way are adverts generally (and very few of them!). -- Chris Green