From: ROLAND.LAMPKA@NDSatcom.com - 2002-01-21 16:41:23
|
-----Urspr=FCngliche Nachricht----- Von: Kai.Grossjohann@CS.Uni-Dortmund.DE [mailto:Kai.Grossjohann@CS.Uni-Dortmund.DE] Gesendet am: Montag, 21. Januar 2002 14:50 An: ROLAND.LAMPKA@NDSatcom.com Cc: tra...@li...; rol...@we... Betreff: Re: AW: tramp ($Id: tramp.el,v 2.54 2001/12/28 07:07:46 kaig Exp $); chan ging behaviour due to "v" option in method ROLAND.LAMPKA@NDSatcom.com writes: > this works now (with tramp.el 2.78), but: > > with the version 2.78 of tramp.el I get: > > # Finding command to check if file exists > $ ls -d "/Programme/CygWin/" 2>/dev/null; echo tramp_exit_status $?=20 > tramp_exit_status 1 This is quite strange. Can you find out where this happens? I'm afraid I can't help you there, as I have neither Windows nor Cygwin. Is anyone willing to help Roland? Roland, what happens when you fiddle with the find-file-visit-truename and find-file-existing-other-name variables? I erased cygwin-mount-activate, now I am able to see the directories. = But I am not able to read the files: -----------------------snip Fetching /[scp/root@131.147.45.44]/root/test to tmp file c:/TEMP/tramp.2498iD... Fetching /[scp/root@131.147.45.44]/root/test to tmp file c:/TEMP/tramp.2498iD...done Inserting local temp file `c:/TEMP/tramp.2498iD'... File exists, but cannot be read. -----------------------snip I looked for the perl script which evaluates the file modes, and that = gives a numerical value for it like (here the value is 33206): -----------------------snip (nil 1 0 0 (15436 13160) (15436 7345) (15436 13189) 1126 33206 t (0 . = 511) (0 773)) -----------------------snip but in tramp.el there is something like: -----------------------snip (defun tramp-handle-file-attributes ... ;; return data gathered (list ... ;; 8. File modes, as a string of ten letters or dashes as in ls = -l. res-filemodes ... ))) -----------------------snip that doesn't correspond to good, is res-filemodes really a string? friendly regards, Roland kai --=20 Simplification good! Oversimplification bad! (Larry Wall) |