On Fri, Jan 30, 2015 at 09:58:43AM -0500, Chet Ramey wrote: > On 1/30/15 4:36 AM, crocket wrote: > > It turns out that tramp on emacs 24.4 sets $HISTFILE to /dev/null and > > makes bash delete /dev/null when I kill emacs. > > > > When /dev/null is not a character device but a regular file, a lot of > > programs freeze. > > This indicates a permissions or file system problem.
My guess was that (s)he's running bash as root, which accounts for the ability to delete /dev/null and recreate it as an ordinary file.