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

From: Eli Zaretskii <[email-masked]>
Date: Fri, 10 Aug 2018 15:39:17 +0300

> From: Noam Postavsky <[email-masked]>
> Date: Fri, 10 Aug 2018 08:28:49 -0400
> Cc: [email-masked]
> 
> Vincent Lefevre <[email-masked]> 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?