help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs in a Corporate Environment


From: Björn Bidar
Subject: Re: Emacs in a Corporate Environment
Date: Sun, 16 Apr 2023 00:14:52 +0300
User-agent: Gnus/5.13 (Gnus v5.13)

Michael Albinus <michael.albinus@gmx.de> writes:

> Hi Marcin,
>
>>> Hopefully, others will answer and/or help corroborate (or refine) my
>>> answers.  Don't be embarrassed.  It's embarrassing that
>>
>> I guess some internet beast swallowed the rest of your letter, but
>> I second the message that OP should /not/ be embarrassed.  Silly jokes
>> aside, the question is a valid one.  In fact, there is one area I am
>> a bit afraid of wrt Emacs & security, and if I may hijack the thread (a
>> bit), let me ask this: if I edit remote files via TRAMP, can I be sure
>> not even partial copy of data from the server ends up on my local drive,
>> e.g. in /tmp?
>
> You can be sure that a copy of your remote data end up in your local
> drive in /tmp. Tramp is busy to clenaup after the operations, but there
> is no guarantee that it will cover everything. And if somebody calls
> `file-local-copy' of a remote file, this ends up in your /tmp by
> intention of the caller.

Not to hijack this list even more but Emacs should probably use various
directories other then /tmp under Unixes. Under those that use XDG
(Linux, BSD, Solaris) ${XDG_CACHE_HOME} or ${XDG_STATE_HOME} comes to
mind.
Another option is to use ${XDG_RUNTIME_DIR}.
All those are separate per user and the latter is likely deleted each
time (tmpfs).

Br,

Björn



reply via email to

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