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:
$ ls -d tmp/
$ echo $TMPDIR
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?