On Mon, Feb 20, 2023, 4:34 PM Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> Just to be clear, this condition should be checked before emacs is
> willing to use the temporary directory in question.  No unprivileged
> user should be able to overwrite a directory entry the uid of the
> emacs process creates at any point in the path to the temporary file.

AFAIK we usually consider it's up to the user/system to make sure this
is the case.

That seems like a pretty aggressive assumption for this functionality.

Lynn