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


Message #23 received at 32413 <at> debbugs.gnu.org (full text, mbox):

From: Vincent Lefevre <vincent <at> vinc17.net>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 32413 <at> debbugs.gnu.org
Subject: Re: 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 16:17:53 +0200
On 2018-08-10 08:28:49 -0400, Noam Postavsky wrote:
> 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?

Yes, this solves the problem (according to strace).

-- 
Vincent Lefèvre <vincent <at> vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)




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

Previous Next


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