Stephen Berman <[email protected]> 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 <[email protected]> > 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.
_______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
