"R. Diez" <[email protected]> writes:

> Hi all:

Hi,

> One of the issues I am facing is that Tramp is leaving behind temporary files 
> on the remote server like this:
>
> -rw-r--r-- 1 root root  0 2025-08-10 11:02 tmp1eghjG
>
> You may not realise that Tramp is littering the disk that way, and when you 
> (or some other sysadmin) realise about those orphaned files next month, such 
> filenames make it hard to know exactly was caused the problem and what file 
> it was related to.

Are you sure it comes from Tramp? Tramp temporary file names always
start with "tramp.", see tramp-temp-name-prefix.

> I suggest a change in Tramp's temporary file naming policy. For a file like:
>
> myfile.txt
>
> I suggest a temporary filename like:
>
> myfile.txt.EmacsTrampTmp1eghjG

That wouldn't be possible. An extension, like ".txt", must be kept.

> Regards,
>   rdiez

Best regards, Michael.

Reply via email to