tramp-devel
[Top][All Lists]
Advanced

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

Does tramp respect (remote) TMPDIR?


From: Frederick Bartlett
Subject: Does tramp respect (remote) TMPDIR?
Date: Fri, 19 Oct 2018 16:47:30 -0400

Hi!

I'm unable to save on a remote linux server while running tramp under cygwin. (Saving on my local machine is fine.)

The problem seems to be that I do not have write rights to /tmp -- nor do I have the permissions necessary to change permissions on /tmp. (And I don't want to deal with my firm's IT bureaucracy. ;)

So I set $TMPDIR -- but that still failed. But:

$ pwd
/u/fbartlet

$ ls -d tmp/
tmp/

$ echo $TMPDIR
/u/fbartlet/tmp/


Looking at the logs, I see:

16:40:35.975844 tramp-sh-handle-write-region (3) # Encoding local file ‘/tmp/tramp.yxl4RI.txt’ using ‘(lambda (beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary))) (apply (quote tramp-call-process-region) (quote (tramp-file-name ssh fbartlet nil odsaux nil /u/fbartlet/cse_e/rerun_stats_8.txt nil)) beg end (car (split-string gzip)) t t nil (cdr (split-string gzip)))) (base64-encode-region (point-min) (point-max)))’...

I was expecting, of course, /u/fbartlet/tmp/tramp.yxl4RI.txt.

Is there any way for me to change the remote tmp directory tramp uses?

Thanks!
Fred

reply via email to

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