Which version of emacs do you use?
I had a quick look at emacs 24.3. "id" is hard coded in tramp-get-remote-id.
You might want to override the function.
(defun tramp-get-remote-id (vec)
(with-tramp-connection-property vec "id"
(tramp-message vec 5 "Finding POSIX `id' command")
(or
(catch 'id-found
(let ((dl (tramp-get-remote-path vec))
result)
(while (and dl (setq result (tramp-find-executable vec "id" dl t t)))
;; Check POSIX parameter.
(when (tramp-send-command-and-check vec (format "%s -u" result))
(throw 'id-found result))
(setq dl (cdr dl)))))
(tramp-error vec 'file-error "Couldn't find a POSIX `id' command"))))
On Tue, 23 Sep 2014 14:34:02 +0000 (UTC), Skip Montanaro <[email protected]> wrote:
> I've stumbled on an old problem:
>
> byte-code: Couldn't find a POSIX `id' command
>
> I am trying to fetch a file from a Solaris 10 system. The
> only id commands are in /bin and /usr/bin (likely the same
> executable). I do have a GNU "gid" command. Setting
> tramp-remote-path won't help. is there a variable I can
> set which either specifies the complete path to my gid
> command or which allows me to say that "id" is actually
> spelled "gid"? A quick check of the various tramp
--
Yuji Yamano
_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel