diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2021-07-25 14:14:49 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2021-07-25 14:14:49 +0200 |
commit | 41e62df73af373f30a89281b25be0344b14cf98b (patch) | |
tree | 9ccc6470ce1d853f23bec0b1168af141745f1691 /test/lisp | |
parent | cb28b2e32bcd694e1684b5390a709057ffab5820 (diff) | |
download | emacs-41e62df73af373f30a89281b25be0344b14cf98b.tar.gz emacs-41e62df73af373f30a89281b25be0344b14cf98b.tar.bz2 emacs-41e62df73af373f30a89281b25be0344b14cf98b.zip |
Fix extended attributes for Tramp's sudoedit method (bug#49724)
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file):
Remove compat code for `{set-}file-extended-attributes'.
(tramp-sudoedit-handle-write-region): Handle extended attributes.
(Bug#49724)
* test/lisp/net/tramp-tests.el (tramp-test25-file-selinux):
Fix test for sudoedit method.
Diffstat (limited to 'test/lisp')
-rw-r--r-- | test/lisp/net/tramp-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index b3a00215ac3..052c03029fd 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -4096,7 +4096,7 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." (write-region "foo" nil tmp-name1) (should (file-exists-p tmp-name1)) (should (file-selinux-context tmp-name1)) - (copy-file tmp-name1 tmp-name2) + (copy-file tmp-name1 tmp-name2 nil nil nil 'preserve-permissions) (should (file-selinux-context tmp-name2)) (should (equal |