1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-11 01:11:31 -07:00
emacs/test/lisp/net
Michael Albinus 3f9ac99fc7 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.
2025-04-01 15:24:44 +02:00
..
dbus-resources
eudc-resources EUDC: Improve LDAP and BBDB tests 2022-11-24 02:21:38 -05:00
mailcap-resources
network-stream-resources
ntlm-resources
puny-resources ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
shr-resources Fix formatting of tables with thead/tfoot but no tbody 2024-07-06 21:10:39 +02:00
tramp-archive-resources
tramp-resources
browse-url-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
dbus-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
dig-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eudc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eww-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
gnutls-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
hmac-md5-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
mailcap-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
network-stream-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
newsticker-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
nsm-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ntlm-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
puny-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
rcirc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
rfc2104-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sasl-cram-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sasl-scram-rfc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sasl-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
secrets-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
shr-tests.el ; Skip shr-test/zoom-image test if png or libxml support is missing 2025-02-21 12:58:20 +01:00
socks-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tramp-archive-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tramp-tests.el Fix Tramp's file-attributes cache 2025-04-01 15:24:44 +02:00
webjump-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00