Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-07-02 Thread Derek Martin
On Mon, Jul 01, 2019 at 05:01:20PM -0500, Derek Martin wrote: > On Sat, Jun 29, 2019 at 03:09:57AM +0200, Vincent Lefevre wrote: > > Machines get rebooted because of (temporary) power > > outage (happens quite often) or because they crash (happens quite > > often too). That's the real world. [...]

Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-07-02 Thread Derek Martin
On Mon, Jul 01, 2019 at 05:01:20PM -0500, Derek Martin wrote: > On Sat, Jun 29, 2019 at 03:09:57AM +0200, Vincent Lefevre wrote: > > > This isn't a problem, except that you need to decide what to do when > > > it happens. In such a case your mkdir will fail, and you will have to > > > resort to

Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-07-01 Thread Derek Martin
On Sat, Jun 29, 2019 at 03:09:57AM +0200, Vincent Lefevre wrote: > > I think you missed my point. How does Mutt KNOW /tmp is OK? What if > > it is not on your system? > > /tmp is standard and assumed to be usable (see POSIX, Chapter 10). > A system without /tmp is broken. Which in no way

Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-06-28 Thread Vincent Lefevre
On 2019-06-28 12:02:30 -0500, Derek Martin wrote: > On Fri, Jun 28, 2019 at 11:08:06AM +0200, Vincent Lefevre wrote: > > On 2019-06-26 14:36:01 -0500, Derek Martin wrote: > > > On Wed, Jun 26, 2019 at 04:26:44PM +0200, Vincent Lefevre wrote: > > > > On 2019-06-25 14:26:16 -0500, Derek Martin

Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-06-28 Thread Derek Martin
On Fri, Jun 28, 2019 at 11:08:06AM +0200, Vincent Lefevre wrote: > On 2019-06-26 14:36:01 -0500, Derek Martin wrote: > > On Wed, Jun 26, 2019 at 04:26:44PM +0200, Vincent Lefevre wrote: > > > On 2019-06-25 14:26:16 -0500, Derek Martin wrote: > > > > In some cases it might get cleaned up, but you

Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-06-28 Thread Vincent Lefevre
On 2019-06-26 14:36:01 -0500, Derek Martin wrote: > On Wed, Jun 26, 2019 at 04:26:44PM +0200, Vincent Lefevre wrote: > > On 2019-06-25 14:26:16 -0500, Derek Martin wrote: > > > In some cases it might get cleaned up, but you can just have your > > > .profile (or whatever) recreate it when you log

Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-06-26 Thread Derek Martin
On Wed, Jun 26, 2019 at 04:26:44PM +0200, Vincent Lefevre wrote: > On 2019-06-25 14:26:16 -0500, Derek Martin wrote: > > On Tue, Jun 25, 2019 at 09:11:22PM +0200, Vincent Lefevre wrote: > > > On 2019-06-24 17:18:27 -0500, Derek Martin wrote: > > > > Mutt honors $TMPDIR. You should set it. You

Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-06-26 Thread Vincent Lefevre
On 2019-06-25 14:26:16 -0500, Derek Martin wrote: > On Tue, Jun 25, 2019 at 09:11:22PM +0200, Vincent Lefevre wrote: > > On 2019-06-24 17:18:27 -0500, Derek Martin wrote: > > > Mutt honors $TMPDIR. You should set it. You should probably not use > > > /tmp, especially on a multi-user system,

Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-06-25 Thread Derek Martin
On Tue, Jun 25, 2019 at 09:11:22PM +0200, Vincent Lefevre wrote: > On 2019-06-24 17:18:27 -0500, Derek Martin wrote: > > Mutt honors $TMPDIR. You should set it. You should probably not use > > /tmp, especially on a multi-user system, especially if you care about > > security (privacy to be more

Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-06-25 Thread Vincent Lefevre
On 2019-06-24 17:18:27 -0500, Derek Martin wrote: > Mutt honors $TMPDIR. You should set it. You should probably not use > /tmp, especially on a multi-user system, especially if you care about > security (privacy to be more precise, but that's part of security). > You should probably also not put

Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-06-25 Thread Steffen Nurpmeso
Derek Martin wrote in <20190624233654.gb13...@bladeshadow.org>: |On Tue, Jun 25, 2019 at 12:45:02AM +0200, Steffen Nurpmeso wrote: |> Hmm, while i totally support the $TMPDIR environment variable, and |> personally dislike it a lot if i set it and someone simply does |> not adhere to it, and

Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-06-24 Thread Derek Martin
On Tue, Jun 25, 2019 at 12:45:02AM +0200, Steffen Nurpmeso wrote: > Hmm, while i totally support the $TMPDIR environment variable, and > personally dislike it a lot if i set it and someone simply does > not adhere to it, and if its only for testing purposes.., it shall > be remarked that OpenBSD