File: tramp-androidsu.el.html

su method implementation for Android.

The su method struggles (as do other shell-based methods) with the crippled versions of many Unix utilities installed on Android, workarounds for which are implemented in the adb method. This method defines a shell-based method that is identical in function to and replaces if connecting to a local Android machine su, but reuses such code from the adb method where applicable and also provides for certain mannerisms of popular Android su implementations.

Defined variables (8)

tramp-androidsu-connection-local-default-variablesDefault connection-local variables for remote androidsu connections.
tramp-androidsu-file-name-handler-alistAlist of Tramp handler functions for superuser sessions on Android.
tramp-androidsu-local-shell-nameName of the local shell on Android.
tramp-androidsu-local-tmp-directoryName of the local temporary directory on Android.
tramp-androidsu-methodWhen this method name is used, forward all calls to su.
tramp-androidsu-mount-global-namespaceWhen non-nil, browse files from within the global mount namespace.
tramp-androidsu-remote-pathDirectories in which to search for transfer programs and the like.
tramp-androidsu-su-mm-supportedWhether ‘su -mm’ is supported on this system.

Defined functions (29)

tramp-androidsu-file-name-handler(OPERATION &rest ARGS)
tramp-androidsu-file-name-p(VEC-OR-FILENAME)
tramp-androidsu-generate-wrapper(FUNCTION)
tramp-androidsu-handle-copy-file(FILENAME NEWNAME &optional OK-IF-ALREADY-EXISTS KEEP-DATE PRESERVE-UID-GID PRESERVE-EXTENDED-ATTRIBUTES)
tramp-androidsu-handle-delete-directory(&rest ARGS)
tramp-androidsu-handle-delete-file(&rest ARGS)
tramp-androidsu-handle-directory-files-and-attributes(&rest ARGS)
tramp-androidsu-handle-exec-path(&rest ARGS)
tramp-androidsu-handle-file-attributes(&rest ARGS)
tramp-androidsu-handle-file-executable-p(&rest ARGS)
tramp-androidsu-handle-file-exists-p(&rest ARGS)
tramp-androidsu-handle-file-local-copy(FILENAME)
tramp-androidsu-handle-file-name-all-completions(&rest ARGS)
tramp-androidsu-handle-file-readable-p(&rest ARGS)
tramp-androidsu-handle-file-system-info(&rest ARGS)
tramp-androidsu-handle-file-writable-p(&rest ARGS)
tramp-androidsu-handle-get-remote-gid(&rest ARGS)
tramp-androidsu-handle-get-remote-groups(&rest ARGS)
tramp-androidsu-handle-get-remote-uid(&rest ARGS)
tramp-androidsu-handle-make-directory(&rest ARGS)
tramp-androidsu-handle-make-process(&rest ARGS)
tramp-androidsu-handle-make-symbolic-link(TARGET LINKNAME &optional OK-IF-ALREADY-EXISTS)
tramp-androidsu-handle-process-file(&rest ARGS)
tramp-androidsu-handle-rename-file(FILENAME NEWNAME &optional OK-IF-ALREADY-EXISTS)
tramp-androidsu-handle-set-file-modes(&rest ARGS)
tramp-androidsu-handle-set-file-times(&rest ARGS)
tramp-androidsu-handle-write-region(START END FILENAME &optional APPEND VISIT LOCKNAME MUSTBENEW)
tramp-androidsu-maybe-open-connection(VEC)
tramp-enable-androidsu-method()

Defined faces (0)