GNU bug report logs - #32413
25.2; When run as root, emacs writes dconf files in a non-root user's /run/user/XXX directory

Previous Next

Package: emacs;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Fri, 10 Aug 2018 09:31:02 UTC

Severity: normal

Tags: notabug

Found in version 25.2

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: vincent <at> vinc17.net, 32413 <at> debbugs.gnu.org
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
> From: Noam Postavsky <npostavs <at> gmail.com>
> Date: Fri, 10 Aug 2018 08:28:49 -0400
> Cc: 32413 <at> debbugs.gnu.org
> 
> Vincent Lefevre <vincent <at> vinc17.net> 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?




This bug report was last modified 6 years and 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.