]> git.eshelyaron.com Git - emacs.git/commit
Handle root permissions on remote files
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 16 Aug 2022 17:41:00 +0000 (19:41 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 16 Aug 2022 17:41:00 +0000 (19:41 +0200)
commit12c3461b455bf06551060ed6061f7df84967ae97
tree6edf6f4cdedc528c99f5a2728f62048f60808abf
parent3ea6cb40e62701dfd7eb47a5d465a67e1f56469a
Handle root permissions on remote files

* lisp/net/tramp.el (tramp-check-cached-permissions): Check also
for remote uid/gid being 0.  (Bug#57238)

* lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
Convert numeric uid/gid strings into real strings.
(tramp-sh-get-signal-strings): Use `zerop'.

* lisp/net/tramp.el (tramp-root-id-string, tramp-root-id-integer):
New defconsts.
(tramp-handle-find-backup-file-name, tramp-handle-lock-file)
(tramp-local-host-p, tramp-handle-make-auto-save-file-name)
* lisp/net/tramp-sh.el (tramp-default-method-alist)
(ramp-default-user-alist, tramp-find-shell):
* lisp/net/tramp-sudoedit.el (tramp-default-user-alist): Use them.
lisp/net/tramp-sh.el
lisp/net/tramp-sudoedit.el
lisp/net/tramp.el