]> git.eshelyaron.com Git - emacs.git/commit
Improve handling of file modes in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 10 Feb 2022 13:14:06 +0000 (14:14 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 10 Feb 2022 13:14:06 +0000 (14:14 +0100)
commit8ababad570e438d1cca88dc9afb6eb0e342483b6
tree89095507c60b7ead877958708d8e43cea467f9cd
parent53da8c50fca98b5a7d0418f6030181df50af8876
Improve handling of file modes in Tramp

* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-get-remote-uid)
(tramp-gvfs-handle-get-remote-gid): Do not assume that the default
location is owned be the remote uid/gid.
(tramp-gvfs-handle-file-executable-p):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-executable-p):
Check also for setuid/setgid bit.

* lisp/net/tramp.el (tramp-check-cached-permissions): Check also
for ?s access type.  Check whether remote uid/gid are unknown.
lisp/net/tramp-gvfs.el
lisp/net/tramp-sh.el
lisp/net/tramp.el