emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions about XDG_RUNTIME_DIR and server-socket-dir


From: Phil Sainty
Subject: Re: Questions about XDG_RUNTIME_DIR and server-socket-dir
Date: Sun, 3 Feb 2019 21:41:49 +1300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 3/02/19 7:10 PM, Paul Eggert wrote:
> XDG_RUNTIME_DIR is a per-user-login directory that is like TMPDIR except
> without some of the security problems of TMPDIR [...]
> 
> I don't see the harm in changing it, if each new setting is intended to
> correspond to a different user login. That might be simpler than adding
> yet another environment variable.

In my case a single user login could use multiple values -- each of the
Emacs instances (and inferior processes thereof) that the user ran
during that login session would be seeing a different XDG_RUNTIME_DIR.

If it's intended to be a replacement for TMPDIR though, perhaps changing
XDG_RUNTIME_DIR is no worse than changing TMPDIR.


-Phil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]