File: tramp-sudoedit.el.html

The "sudoedit" Tramp method enables editing a file as a different user on the local host. Contrary to the "sudo" method, all magic
file name functions are implemented by single "sudo ..." commands.
The purpose is to make editing such a file as secure as possible; there must be no session running in the Emacs background which could be attacked from inside Emacs.

Consequently, external processes are not implemented.

Defined variables (6)

tramp-sudoedit-file-attributesstat format string to produce output suitable for use with
tramp-sudoedit-file-attributes-with-selinuxstat format string to produce output suitable for use with
tramp-sudoedit-file-name-handler-alistAlist of handler functions for Tramp SUDOEDIT method.
tramp-sudoedit-methodWhen this method name is used, call sudoedit for editing a file.
tramp-sudoedit-null-hopConnection hop which identifies the virtual hop before the first one.
tramp-sudoedit-sudo-actionsList of pattern/action pairs.

Defined functions (37)

tramp-sudoedit-action-sudo(PROC VEC)
tramp-sudoedit-do-copy-or-rename-file(OP FILENAME NEWNAME &optional OK-IF-ALREADY-EXISTS KEEP-DATE PRESERVE-UID-GID PRESERVE-EXTENDED-ATTRIBUTES)
tramp-sudoedit-file-name-handler(OPERATION &rest ARGS)
tramp-sudoedit-file-name-p(VEC-OR-FILENAME)
tramp-sudoedit-handle-add-name-to-file(FILENAME NEWNAME &optional OK-IF-ALREADY-EXISTS)
tramp-sudoedit-handle-copy-file(FILENAME NEWNAME &optional OK-IF-ALREADY-EXISTS KEEP-DATE PRESERVE-UID-GID PRESERVE-EXTENDED-ATTRIBUTES)
tramp-sudoedit-handle-delete-directory(DIRECTORY &optional RECURSIVE TRASH)
tramp-sudoedit-handle-delete-file(FILENAME &optional TRASH)
tramp-sudoedit-handle-expand-file-name(NAME &optional DIR)
tramp-sudoedit-handle-file-acl(FILENAME)
tramp-sudoedit-handle-file-attributes(FILENAME &optional ID-FORMAT)
tramp-sudoedit-handle-file-executable-p(FILENAME)
tramp-sudoedit-handle-file-exists-p(FILENAME)
tramp-sudoedit-handle-file-name-all-completions(FILENAME DIRECTORY)
tramp-sudoedit-handle-file-readable-p(FILENAME)
tramp-sudoedit-handle-file-selinux-context(FILENAME)
tramp-sudoedit-handle-file-system-info(FILENAME)
tramp-sudoedit-handle-file-truename(FILENAME)
tramp-sudoedit-handle-file-writable-p(FILENAME)
tramp-sudoedit-handle-get-home-directory(VEC &optional USER)
tramp-sudoedit-handle-get-remote-gid(VEC ID-FORMAT)
tramp-sudoedit-handle-get-remote-groups(VEC ID-FORMAT)
tramp-sudoedit-handle-get-remote-uid(VEC ID-FORMAT)
tramp-sudoedit-handle-make-directory(DIR &optional PARENTS)
tramp-sudoedit-handle-make-symbolic-link(TARGET LINKNAME &optional OK-IF-ALREADY-EXISTS)
tramp-sudoedit-handle-rename-file(FILENAME NEWNAME &optional OK-IF-ALREADY-EXISTS)
tramp-sudoedit-handle-set-file-acl(FILENAME ACL-STRING)
tramp-sudoedit-handle-set-file-modes(FILENAME MODE &optional FLAG)
tramp-sudoedit-handle-set-file-selinux-context(FILENAME CONTEXT)
tramp-sudoedit-handle-set-file-times(FILENAME &optional TIME FLAG)
tramp-sudoedit-handle-set-file-uid-gid(FILENAME &optional UID GID)
tramp-sudoedit-maybe-open-connection(VEC)
tramp-sudoedit-remote-acl-p(VEC)
tramp-sudoedit-remote-selinux-p(VEC)
tramp-sudoedit-send-command(VEC &rest ARGS)
tramp-sudoedit-send-command-and-read(VEC &rest ARGS)
tramp-sudoedit-send-command-string(VEC &rest ARGS)

Defined faces (0)