bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38728: 26.3; eshell with tramp su is unable to execute system binari


From: Michael Albinus
Subject: bug#38728: 26.3; eshell with tramp su is unable to execute system binaries
Date: Tue, 24 Dec 2019 09:23:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Adam Schaefers <paxchristi888@gmail.com> writes:

Hi Adam,

> 1. M-x eshell
> 2. Insert the following into the eshell prompt:
> cd (concat "/su:root@"system-name":"default-directory)
> 3. RET
> 4. *ls RET
>
> returns the following:
>
> /su:root@kiss:/bin/ls: not an executable file

I've tried to reproduce it with Emacs 26.3 as provided by Ubuntu 19.10,
but it works for me. *ls returns the requested file names.

I had to modify your example slightly:

* use sudo instead of su
* expand default-directory due to ~/

So I have applied

cd (concat "/sudo::" (expand-file-name default-directory))

But this shouldn't make a difference wrt the problem. I have also
started Emacs with "-Q", in order to suppress any config. Could you do
it also? I see ido in your messages, for example.

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]