From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Emacs creates emacs.d/ as root when using sudo Date: Tue, 02 Jul 2019 19:16:42 +0200 Message-ID: References: <8336joe6xl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="103707"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: schwab@suse.de, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 02 20:31:06 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hiNYY-000QZC-8P for ged-emacs-devel@m.gmane.org; Tue, 02 Jul 2019 20:31:06 +0200 Original-Received: from localhost ([::1]:56122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hiNUb-0007Q6-2N for ged-emacs-devel@m.gmane.org; Tue, 02 Jul 2019 14:27:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59276) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hiMOk-0007O5-OK for emacs-devel@gnu.org; Tue, 02 Jul 2019 13:16:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hiMOg-0002JB-BJ for emacs-devel@gnu.org; Tue, 02 Jul 2019 13:16:53 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:43904) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hiMOf-0002Fg-W0; Tue, 02 Jul 2019 13:16:50 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hiMOY-0002PU-SN; Tue, 02 Jul 2019 19:16:45 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAADFBMVEUyCBNgMC/Xva+bbF2E SmidAAACMklEQVQokRXSz2vTYBwG8OfdWgoTt6KW4UR3j+DJywLCW6ruopC5xoCy9myE6WB6qMT8 Ce4i3jYPHXRvmmRCizDZsjlkRztcHIjrLvMH6bZ4aBEyk9d3xw8PfJ/D80XP7Kk3QRSa2VKxb8Yq BSglhRh76q0dCORTeQP+xLBPIbLUsIEpTdtOBcsiJEWoXHuaYm9PAWgmzxJWBblwCl4HWWtgpIY0 VPMPKY51IS0hA1WlOXKmLkCHIBqzGGrh2tKzMv4mNQW51p2rvNIBW6kB/VlZt3SOoF0HzkP6aQcL CNu1TH4CUvQjcLH67bfsbC5Lgc8c2O0liX2sSsEb5sLejU33q60HHwTqUHU2b+s6E7CQk9lKXdaP BY5bKZmd2HIpYR6mmwcyu1sd3HrOEoRrjRcP0/795jmrhNWoOl27/OlK855dQhxVw+7FufRioV6C FlhcuTSHg0LjAUYDtjpVaSjX+6oRxgLm+mZDme17n8AIHF423tEntxcew4gczzhq0RsvZzuIE2dB s7uY3J8JwRPXnKzNZoc/TwnwReOLS9K9vRmOhMdawdn0K68LCaKTuFxwNo4G5sbnwdudyobLo63W WRPbuyuUHI7yX5yoUPrX1sm/Acv28r4Yia+TzhD/vpuPBUKBsvYHaVNA2iGm51k0zVHEiMsZs9xT lIuDXmAl3qEiUPH7PB6PMzeb4Yh6+UaOknAf6VCgmxVXHr0COUHU5KpARqMkQuTxXlG8h0ZR+Q/0 zR1q/wclGwAAAABJRU5ErkJggg== In-Reply-To: <8336joe6xl.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 02 Jul 2019 19:29:26 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:238300 Archived-At: Eli Zaretskii writes: > Doesn't the shell (e.g., Bash) do the same by putting there > .bash_history etc.? It does, but most people already have a .bash_history (and the ownership won't change), so that's not a problem in practice in my experience... (While I've had to chown plenty of .emacs/.emacs.d files in my time.) I'm not saying we should change anything here, really -- but it's a problem in practice that other editors, like vim, isn't as prone to being affected by. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no