[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: |
Eli Zaretskii |
Subject: |
bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root |
Date: |
Fri, 12 Jul 2019 17:53:52 +0300 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: rgm@gnu.org, sb@dod.no, 36583@debbugs.gnu.org
> Date: Fri, 12 Jul 2019 10:46:13 -0400
>
> >> > 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.
Isn't that what 'su' is supposed to allow?
- bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root, (continued)
- bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root, Andreas Schwab, 2019/07/13
- bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root, Stefan Monnier, 2019/07/13
- bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root, Richard Stallman, 2019/07/13
- bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root, Stefan Monnier, 2019/07/15
- bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root, Noam Postavsky, 2019/07/15
- bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root, Stefan Monnier, 2019/07/15
- bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root, Steinar Bang, 2019/07/23
- bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root, Stefan Monnier, 2019/07/23
- bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root, Eli Zaretskii, 2019/07/12
- bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root, Stefan Monnier, 2019/07/12
- bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root,
Eli Zaretskii <=
- bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root, Lars Ingebrigtsen, 2019/07/12