From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#32413: 25.2; When run as root, emacs writes dconf files in a non-root user's /run/user/XXX directory Date: Fri, 10 Aug 2018 11:41:30 -0400 Message-ID: References: <87k1oyy3fi.fsf@zira.vinc17.org> <83600io1pl.fsf@gnu.org> <20180810125758.GD12819@zira.vinc17.org> <83va8imize.fsf@gnu.org> <20180810143203.GE12819@zira.vinc17.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533915603 29240 195.159.176.226 (10 Aug 2018 15:40:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2018 15:40:03 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 32413@debbugs.gnu.org To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 10 17:39:59 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fo9WB-0007Ud-5J for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Aug 2018 17:39:59 +0200 Original-Received: from localhost ([::1]:56807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo9YH-0000hB-TJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Aug 2018 11:42:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo9YB-0000gt-Le for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 11:42:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fo9YA-0005dg-RM for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 11:42:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42034) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fo9YA-0005dW-Mc for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 11:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fo9YA-0005PU-Gp for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 11:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Aug 2018 15:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32413 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32413-submit@debbugs.gnu.org id=B32413.153391570320767 (code B ref 32413); Fri, 10 Aug 2018 15:42:02 +0000 Original-Received: (at 32413) by debbugs.gnu.org; 10 Aug 2018 15:41:43 +0000 Original-Received: from localhost ([127.0.0.1]:47052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fo9Xq-0005Ot-R2 for submit@debbugs.gnu.org; Fri, 10 Aug 2018 11:41:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fo9Xq-0005Oe-9A for 32413@debbugs.gnu.org; Fri, 10 Aug 2018 11:41:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fo9Xk-0005CM-AW for 32413@debbugs.gnu.org; Fri, 10 Aug 2018 11:41:37 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo9Xh-0005AO-CC; Fri, 10 Aug 2018 11:41:33 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1fo9Xf-0003Kt-6Q; Fri, 10 Aug 2018 11:41:31 -0400 X-Spook: Port Radioactive National Operations Center insurgency X-Ran: za4C{oQbeL+L*`Mdt|hUj"d'#Fu8-+[B9enyLspAuG#=.J$xwJ~(fR,m/*:l6S'CapmcuF X-Hue: red X-Attribution: GM In-Reply-To: <20180810143203.GE12819@zira.vinc17.org> (Vincent Lefevre's message of "Fri, 10 Aug 2018 16:32:03 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149416 Archived-At: Vincent Lefevre wrote: > If you mean that it writes the history, then that's a usual shell > thing, so that's OK. The behaviour you complain about in the subject line is a usual X thing, for "modern" (ie non-ancient) desktop applications, as was explained in the referenced Debian bug reports you were pointed to. > BTW, that's probably one of the reasons why "su" redefines HOME to the > target user home directory by default. And it's one of the reasons why the referenced reports discouraged running desktop applications under plain "su". I'm sure in one of the reports someone suggested modifying plain "su". The specific example of dconf etc is not a bug, it's how these things work. If you don't like it, use the configure option to disable that feature (most programs won't give you that option). I think the general principle of "Emacs should never create files/directories if the user hasn't explicitly asked it to do that" is a non-starter. So this report should be closed wontfix IMO.