Function: tramp-adb-handle-set-file-modes
tramp-adb-handle-set-file-modes is a byte-compiled function defined in
tramp-adb.el.gz.
Signature
(tramp-adb-handle-set-file-modes FILENAME MODE &optional FLAG)
Documentation
Like set-file-modes for Tramp files.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-adb.el.gz
(defun tramp-adb-handle-set-file-modes (filename mode &optional flag)
"Like `set-file-modes' for Tramp files."
;; ADB shell does not support "chmod -h".
(unless (and (eq flag 'nofollow) (file-symlink-p filename))
(tramp-skeleton-set-file-modes-times-uid-gid filename
(tramp-adb-send-command-and-check
v (format "chmod %o %s" mode (tramp-shell-quote-argument localname))))))