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 #8 received at 32413 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Vincent Lefevre <vincent <at> vinc17.net>
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 15:17:26 +0300
> From: Vincent Lefevre <vincent <at> vinc17.net>
> Date: Fri, 10 Aug 2018 11:30:09 +0200
> 
> Emacs should never create files/directories if the user hasn't
> explicitly asked it to do that

I don't agree with this principle, not in this general form.  (The "in
a directory owned by another user" part, to which I think I agree, as
written, was not a qualification for this general statement, so it
doesn't count for the purposes of the principle itself.)

As just one random example of what Emacs "should never do", we write
the customizations to a file "without the user's explicit request".




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.