GNU bug report logs - #19731
24.4; /dev/null is deleted by tramp-sh.el

Previous Next

Package: emacs;

Reported by: crocket <crockabiscuit <at> gmail.com>

Date: Fri, 30 Jan 2015 05:20:02 UTC

Severity: normal

Merged with 21697, 23041

Found in versions 24.4, 24.5

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 19731 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: crocket <crockabiscuit <at> gmail.com>
Cc: 19731 <at> debbugs.gnu.org
Subject: Re: bug#19731: 24.4; /dev/null is deleted by tramp-sh.el
Date: Mon, 02 Feb 2015 13:45:01 +0100
crocket <crockabiscuit <at> gmail.com> writes:

> On bash, if you become root, and set HISTFILE to /dev/null and
> HISTFILESIZE to a very small number, and execute more than
> $HISTFILESIZE commands, and exit bash, then
> you'll see /dev/null replaced with a regular file with permission 600.

Tramp doesn't set HISTFILESIZE to any value. Maybe it should set it to a
reasonable large number, when HISTFILE is set to /dev/null?

> If you can't reproduce it, then I'll test tramp on emacs 25 with
> 'tramp-histfile-override' set to 'unset'.

Please do.

Best regards, Michael.




This bug report was last modified 9 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.