]> git.eshelyaron.com Git - emacs.git/commit
Fix file-readable-p and file-executable-p in some Tramp backends
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 8 Apr 2019 11:34:54 +0000 (13:34 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 8 Apr 2019 11:34:54 +0000 (13:34 +0200)
commita20845c160de2ba9f42b3af714d770df502d0577
tree82a0c07f09d8259ccae2c6d6f93e6a5eaecf910f
parent0b8117ed1abfc17bb0bc1690a8997736f1e8f98c
Fix file-readable-p and file-executable-p in some Tramp backends

* lisp/net/tramp-archive.el (tramp-archive-handle-file-readable-p):
Use tramp-gvfs.

* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-executable-p):
Check that FILENAME exists.
(tramp-gvfs-handle-file-readable-p): Check that FILENAME exists.
Use heuristic in case it cannot be determined correctly.
lisp/net/tramp-archive.el
lisp/net/tramp-gvfs.el