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: Andreas Schwab
Subject: Re: Emacs creates emacs.d/ as root when using sudo
Date: Tue, 02 Jul 2019 08:34:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux)

On Jul 02 2019, Stefan Monnier <address@hidden> wrote:

>>     $ 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.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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