Mark Geary <ge...@acm.org> writes:

Hi Mark,

>> Hard to say. However, the command line using stat(1) is kind of complex,
>> maybe Solaris has problems with this. So you could instruct Tramp *not*
>> to use stat (it will apply a perl script then, or a simple ls), which
>> might work better.
>
> My tests show that it's just the length of the command, not any other
> kind of complexity.  An echo command with a single argument works if
> the total length is 256 or less and fails if it is more than 256 characters.

I see, thank you for the test. Could you please run in a bash shell on
that remote host the command "getconf -a"?

>> (add-to-list 'tramp-connection-properties '("sfmg10" "stat" nil))
>>
>> after you have loaded Tramp, but before you try to connect that host for
>> the first time?
>
> That works. Thanks.

Good to know. So you are not blocked anymore.

I still have no idea how to solve this in general. Maybe we can only
document this. And/or raise a user-error, asking to avoid stat for a
remote Solaris system.

> Mark

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to