diff options
| author | Michael Albinus | 2025-04-01 15:24:44 +0200 |
|---|---|---|
| committer | Michael Albinus | 2025-04-01 15:24:44 +0200 |
| commit | 3f9ac99fc7e024678dff1ac3ff38e617ef2606fe (patch) | |
| tree | 10522887786bdf3081c62679d7ab190ef3425310 /exec | |
| parent | 6cac92928a99a2cf33aeeeddf295cf981750391c (diff) | |
| download | emacs-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')
0 files changed, 0 insertions, 0 deletions