aboutsummaryrefslogtreecommitdiffstats
path: root/exec/exec.c
diff options
context:
space:
mode:
authorMichael Albinus2025-04-01 15:24:44 +0200
committerMichael Albinus2025-04-01 15:24:44 +0200
commit3f9ac99fc7e024678dff1ac3ff38e617ef2606fe (patch)
tree10522887786bdf3081c62679d7ab190ef3425310 /exec/exec.c
parent6cac92928a99a2cf33aeeeddf295cf981750391c (diff)
downloademacs-3f9ac99fc7e024678dff1ac3ff38e617ef2606fe.tar.gz
emacs-3f9ac99fc7e024678dff1ac3ff38e617ef2606fe.zip
Fix Tramp's file-attributes cache
* lisp/net/tramp-adb.el (tramp-adb-handle-file-executable-p): Check also for sticky bit. (tramp-adb-handle-file-readable-p): Simplify. * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-executable-p): Check also for sticky bit. Force `file-attributes' check. * lisp/net/tramp-sh.el (tramp-sh-handle-file-executable-p): Check also for sticky bit. (tramp-sh-handle-file-readable-p) (tramp-sh-handle-file-writable-p): Simplify. * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-executable-p): Check also for sticky bit. (tramp-sudoedit-handle-file-readable-p) (tramp-sudoedit-handle-file-writable-p): Simplify. * lisp/net/tramp.el (tramp-use-file-attributes): Fix docstring. (tramp-handle-file-readable-p, tramp-handle-file-writable-p): Force `file-attributes' check. Use `file-truename' for symbolic links. (tramp-check-cached-permissions): New optional argument FORCE. Fix symlink check. Check also for sticky bit. (Bug#77402) * test/lisp/net/tramp-tests.el (tramp-test20-file-modes-without-file-attributes) (tramp-test21-file-links-without-file-attributes): New tests.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions