]> git.eshelyaron.com Git - emacs.git/commit
Tramp: Improve handling of cyclic symlinks
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 22 Mar 2025 08:52:22 +0000 (09:52 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 23 Mar 2025 19:24:18 +0000 (20:24 +0100)
commit5a37039ff048bd464405c5c8be4d1fb7d7cd1b48
tree41a30ed05ea746a41695d59b6b0e13953b5a11d3
parent3836bee9acd9c65365974f10ececda44dfe02740
Tramp: Improve handling of cyclic symlinks

* lisp/net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
Add FIXME.

* lisp/net/tramp.el (tramp-skeleton-file-exists-p)
(tramp-handle-file-directory-p): Protect against cyclic symlinks.

* test/lisp/net/tramp-tests.el (tramp-test18-file-attributes)
(tramp-test21-file-links): Adapt tests.

(cherry picked from commit 172e35afce430594fdf2eb9c404efc398098d621)
lisp/net/tramp-sh.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el