[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sftp access method fails on Emacs master
From: |
Michael Albinus |
Subject: |
Re: sftp access method fails on Emacs master |
Date: |
Sat, 06 Apr 2019 01:00:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Stephen Berman <address@hidden> writes:
Hi Steve,
> For some time I have been unable to access a remote directory via sftp
> using Tramp 2.4.2-pre from the Emacs master branch, while with emacs-26
> (Tramp 2.3.5.26.2) it works fine. I think this started in February, and
> suspect these changes:
>
> commit 0a6c4479cff17b487580abe3a7ee202e71be25d2
> Author: Michael Albinus <address@hidden>
> Date: Tue Feb 19 14:00:17 2019 +0100
>
> Implement access-file in Tramp
>
> I've attached two traces with tramp-verbose set to 6, one from emacs-26
> showing a successful connection (starting at line 476) and one from
> master failing with "File is missing: Reading directory: No such file or
> directory" (line 475). If that's not enough to find the problem, I'll
> be happy to provide more information.
It's late in the night, so just a first check only. Does the following
patch helps?
*** /tmp/ediff4cnHKH 2019-04-06 00:55:40.023631484 +0200
--- /home/albinus/src/tramp/lisp/tramp-gvfs.el 2019-04-06 00:54:57.459337741
+0200
***************
*** 1079,1085 ****
(setq res-filemodes
(let ((n (cdr (assoc "unix::mode" attributes))))
(if n
! (tramp-file-mode-from-int (string-to-number n))
(format
"%s%s%s%s------"
(if dirp "d" (if res-symlink-target "l" "-"))
--- 1079,1086 ----
(setq res-filemodes
(let ((n (cdr (assoc "unix::mode" attributes))))
(if n
! (tramp-file-mode-from-int
! (logand (string-to-number n) #o7777)))))
(format
"%s%s%s%s------"
(if dirp "d" (if res-symlink-target "l" "-"))
If not, pls send traces with verbosity 10.
> Steve Berman
Best regards, Michael.
- sftp access method fails on Emacs master, Stephen Berman, 2019/04/05
- Re: sftp access method fails on Emacs master,
Michael Albinus <=
- Re: sftp access method fails on Emacs master, Stephen Berman, 2019/04/06
- Re: sftp access method fails on Emacs master, Michael Albinus, 2019/04/07
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: sftp access method fails on Emacs master, Stephen Berman, 2019/04/08
- Re: sftp access method fails on Emacs master, Michael Albinus, 2019/04/08
- Re: sftp access method fails on Emacs master, Stephen Berman, 2019/04/08
- Re: sftp access method fails on Emacs master, Michael Albinus, 2019/04/08