Michael Albinus <[EMAIL PROTECTED]> writes:

> Ferenc Wagner <[EMAIL PROTECTED]> writes:
>
>> Debugger entered--Lisp error: (wrong-type-argument integerp nil)
>>   set-file-modes("/tmp/#diag.txt#" nil)
>>   tramp-set-auto-save-file-modes()
>>   run-hooks(auto-save-hook)
>>
>> And really,
>>
>> (file-modes "diag.txt") => nil
>> (file-modes "/tmp/#diag.txt#") => 436
>
> That's what I suspected. The fix would be simple (call `set-file-modes´
> only when `file-modes´ returns non-nil).
>
> Nevertheless, I'm curious to know why (file-modes "diag.txt") returned
> nil. Could you, please, give me the full Tramp file name of
> "diag.txt"? Mainly, I'm interested in the access method.

Sure: /ssh:csoki:/home/wferi/anulus_reports/diag.txt

The remote machine is FreeBSD 5.3-STABLE, btw.
-- 
Feri.

Reply via email to