all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Vincent Lefevre <vincent@vinc17.net>
Cc: 32413@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 11:41:30 -0400	[thread overview]
Message-ID: <vu7ekycjpx.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <20180810143203.GE12819@zira.vinc17.org> (Vincent Lefevre's message of "Fri, 10 Aug 2018 16:32:03 +0200")

Vincent Lefevre wrote:

> If you mean that it writes the history, then that's a usual shell
> thing, so that's OK.

The behaviour you complain about in the subject line is a usual X thing,
for "modern" (ie non-ancient) desktop applications, as was explained in
the referenced Debian bug reports you were pointed to.

> BTW, that's probably one of the reasons why "su" redefines HOME to the
> target user home directory by default.

And it's one of the reasons why the referenced reports discouraged
running desktop applications under plain "su". I'm sure in one of the
reports someone suggested modifying plain "su".


The specific example of dconf etc is not a bug, it's how these things
work. If you don't like it, use the configure option to disable that
feature (most programs won't give you that option). I think the general
principle of "Emacs should never create files/directories if the user
hasn't explicitly asked it to do that" is a non-starter.
So this report should be closed wontfix IMO.





  reply	other threads:[~2018-08-10 15:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-10  9:30 bug#32413: 25.2; When run as root, emacs writes dconf files in a non-root user's /run/user/XXX directory Vincent Lefevre
2018-08-10 12:17 ` Eli Zaretskii
2018-08-10 12:57   ` Vincent Lefevre
2018-08-10 13:47     ` Eli Zaretskii
2018-08-10 14:32       ` Vincent Lefevre
2018-08-10 15:41         ` Glenn Morris [this message]
2018-08-10 15:53           ` Vincent Lefevre
2018-08-12 17:31             ` Noam Postavsky
2018-08-12 22:03               ` Andreas Schwab
2018-08-12 23:45             ` Glenn Morris
2018-08-10 19:39           ` Eli Zaretskii
2018-08-10 12:28 ` Noam Postavsky
2018-08-10 12:39   ` Eli Zaretskii
2018-08-12 17:28     ` Noam Postavsky
2018-08-10 14:17   ` Vincent Lefevre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vu7ekycjpx.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=32413@debbugs.gnu.org \
    --cc=vincent@vinc17.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.