emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs creates emacs.d/ as root when using sudo


From: Stefan Monnier
Subject: Re: Emacs creates emacs.d/ as root when using sudo
Date: Tue, 02 Jul 2019 11:02:34 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>>>     $ sudo emacs /etc/default/motd-news
>> I'd consider the above as a pilot error.
>> If you use sudo naively like above, the $HOME is still that of the
>> invoking user,
> It's really a misconfiguration of sudo if it doesn't reset HOME.

Oh, indeed, I was confusing it with `su`.
That confirms it's not a problem on Emacs's side.


        Stefan




reply via email to

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