GNU bug report logs - #36583
26.1; emacs 26 tries loading original user's .emacs after su to root

Previous Next

Package: emacs;

Reported by: Steinar Bang <sb <at> dod.no>

Date: Wed, 10 Jul 2019 20:24:02 UTC

Severity: minor

Merged with 19477, 36604

Found in version 26.1

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 36583 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>, sb <at> dod.no, Richard Stallman <rms <at> gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root
Date: Sat, 13 Jul 2019 11:34:24 +0200
Andreas Schwab <schwab <at> linux-m68k.org> writes:

> On Jul 12 2019, Richard Stallman <rms <at> gnu.org> wrote:
>
> > I think I asked for this feature so that when I run Emacs as root I
> > will get the commands I am accustomed to.
>
> Nowadays this is perhaps obsoleted by Tramp.

Tramp covers this use case for me at least.

FWIW, I think we should remove this feature.  It has always surprised me since
it's so different from how other programs on GNU/Linux usually behaves.

Would it be a good idea to also add something to the FAQ or Manual on the
recommended way to edit files as root (which perhaps should be: use Tramp)?

Thanks,
Stefan Kangas




This bug report was last modified 123 days ago.

Previous Next


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