Re: Bug#644788: Bug#654116: RFH: screen -- terminal multiplexor with VT100/ANSI terminal emulation
On Mon, 02 Jan 2012 at 16:26:55 -0500, Yaroslav Halchenko wrote:
> On Mon, 02 Jan 2012, Axel Beckert wrote:
> > > /tmp is a good choice because the next reboot will automatically clean
> > > up everything (and obviously the old binary will not be needed after
> > > a reboot).
> Thank you Axel for your detailed response and IMHO this is indeed close
> to an ideal (lightweight, self-cleaning, etc) resolution for this
> scenario. BTW -- what is the take of standards/practices on having /tmp
> mounted with noexec ?
Would it be enough for the "your old screen binary is
/tmp/screen-yhpoe8r/screen" notice to also say "if your /tmp is mounted
noexec, you might need to copy it elsewhere to run it"? Or you could just
assume that any sysadmin who has deliberately enabled noexec (not the default,
after all) is able to realise (and deal with) the consequences :-)