From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii 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 15:39:17 +0300 Message-ID: <83y3demm4q.fsf@gnu.org> References: <87k1oyy3fi.fsf@zira.vinc17.org> <87lg9ewgla.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1533904687 14528 195.159.176.226 (10 Aug 2018 12:38:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2018 12:38:07 +0000 (UTC) Cc: vincent@vinc17.net, 32413@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 10 14:38:03 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 1fo6g6-0003gp-Rr for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Aug 2018 14:38:02 +0200 Original-Received: from localhost ([::1]:56028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo6iD-0006h5-Gs for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Aug 2018 08:40:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo6i6-0006gp-BY for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 08:40:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fo6i3-0002Us-1y for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 08:40:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41402) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fo6i2-0002UY-Uj for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 08:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fo6i2-0000iu-Kk for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 08:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Aug 2018 12:40: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.15339047682733 (code B ref 32413); Fri, 10 Aug 2018 12:40:02 +0000 Original-Received: (at 32413) by debbugs.gnu.org; 10 Aug 2018 12:39:28 +0000 Original-Received: from localhost ([127.0.0.1]:46420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fo6hT-0000i1-Rm for submit@debbugs.gnu.org; Fri, 10 Aug 2018 08:39:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fo6hS-0000hm-00 for 32413@debbugs.gnu.org; Fri, 10 Aug 2018 08:39:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fo6hJ-0001ki-JO for 32413@debbugs.gnu.org; Fri, 10 Aug 2018 08:39:20 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo6hJ-0001kY-Eb; Fri, 10 Aug 2018 08:39:17 -0400 Original-Received: from [176.228.60.248] (port=1552 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fo6hI-00032N-Px; Fri, 10 Aug 2018 08:39:17 -0400 In-reply-to: <87lg9ewgla.fsf@gmail.com> (message from Noam Postavsky on Fri, 10 Aug 2018 08:28:49 -0400) 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:149408 Archived-At: > From: Noam Postavsky > Date: Fri, 10 Aug 2018 08:28:49 -0400 > Cc: 32413@debbugs.gnu.org > > Vincent Lefevre writes: > > > Emacs should never create files/directories if the user hasn't > > explicitly asked it to do that, in particular if this is under > > a directory owned by a different user. > > Does it help if you ./configure --without-gsettings? So you are saying that it's the Gsettings functions that write to that directory, outside of Emacs's control? > (maybe it should default to off, I'm not sure what gsettings is actually > good for apart from causing bugs, e.g., #25228) I might agree, but then won't too many users be annoyed by Emacs not following desktop-wide customizations?