GNU bug report logs - #75306
31.0.50; Make `small-temporary-file-directory` variable obsolete

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Fri, 3 Jan 2025 03:24:01 UTC

Severity: wishlist

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Björn Bidar <bjorn.bidar <at> thaodan.de>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 75306 <at> debbugs.gnu.org, stefankangas <at> gmail.com
Subject: bug#75306: 31.0.50; Make `small-temporary-file-directory` variable obsolete
Date: Sun, 05 Jan 2025 00:16:43 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

> Björn Bidar <bjorn.bidar <at> thaodan.de> writes:
>
> Hi Björn,
>
>>> And in the Tramp case, you break an existing interface. Users have been
>>> instructed to change the value of small-temporary-file-directory when
>>> needed. See (info "(tramp) Frequently Asked Questions"), which documents
>>> a user problem reported on the <tramp-devel <at> gnu.org> ML.
>>
>> If the intend of the variable is the same as listed in the Tramp FAQ why
>> not set it by default to /run/user/<uid>?
>>
>> For such use cases using /run/user/<uid> is much better as it more
>> secure and on a ramdisk.
>
> Because it isn't portable. The Tramp manual gives just an example.

Portable across Unixes or Linux? For Linux /run/user is portable.
/var/run, which is symlinked to /run exists in BSD but not
/var/run/user.
However XDG_CACHE_HOME is already used in Tramp so using XDG_RUNTIME_DIR
should be a natural followup.




This bug report was last modified 162 days ago.

Previous Next


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