bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su


From: Stefan Monnier
Subject: bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root
Date: Fri, 12 Jul 2019 10:46:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> > This is explicitly documented in the manual.
>> > "How Emacs Finds Your Init File".
>> FWIW, I find this behavior very surprising (and dangerous).
> Why is it dangerous?

Because it'll run with full admin privileges the user's ~/.emacs which
was likely not written under the assumption that you have to be very
careful not to mess up the whole system.


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]