[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.0.52); Solaris /usr/bin/id -{u,g} doesn't work
From: |
Michael Albinus |
Subject: |
Re: tramp (2.0.52); Solaris /usr/bin/id -{u,g} doesn't work |
Date: |
Fri, 03 Feb 2006 08:54:02 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (hpux) |
Magnus Henoch <address@hidden> writes:
> I tried to log in on a Solaris host and open a directory, and got the
> backtrace below. The cause is that the "gid" connection property is
> 'illegal, since running /usr/bin/id on Solaris with -u or -g gives:
>
> id: illegal option -- g
> Usage: id [-ap] [user]
>
> tramp-post-connection thus assigns non-numeric uid and gid connection
> properties.
>
> /usr/xpg4/bin/id accepts -u and -g as expected.
You are right. In Tramp 2.1, "/usr/xpg4/bin" is part of
`tramp-remote-path', and there is a check of POSIX conformity of
"id". I will backport this solution to Tramp 2.0.
As workaround, inserting "/usr/xpg4/bin" at the top of
`tramp-remote-path' might be sufficient.
Best regards, Michael.