GNU bug report logs - #38728
26.3; eshell with tramp su is unable to execute system binaries

Previous Next

Package: emacs;

Reported by: Adam Schaefers <paxchristi888 <at> gmail.com>

Date: Tue, 24 Dec 2019 06:45:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 26.3

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38728 in the body.
You can then email your comments to 38728 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#38728; Package emacs. (Tue, 24 Dec 2019 06:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adam Schaefers <paxchristi888 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 24 Dec 2019 06:45:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Adam Schaefers <paxchristi888 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.3; eshell with tramp su is unable to execute system binaries
Date: Mon, 23 Dec 2019 20:42:26 -0800
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 <at> kiss:/bin/ls: not an executable file


In GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu)
 of 2019-12-22 built on kiss
Recent messages:
Quit [3 times]
ido-delete-backward-updir: Beginning of buffer
funcall-interactively: Text is read-only [2 times]
Quit
Keyboard macro ring is now empty.
funcall-interactively: Text is read-only
delete-backward-char: Text is read-only [21 times]
Quit
next-line: End of buffer [10 times]
Making completion list...

Configured using:
 'configure --prefix=/usr --with-x-toolkit=no --without-x 'CFLAGS=-O2
 -pipe''

Configured features:
JPEG SOUND NOTIFY GNUTLS LIBXML2 ZLIB XIM THREADS

Important settings:
  locale-coding-system: nil

Major mode: ERC

Minor modes in effect:
  global-magit-file-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  diff-auto-refine-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  projectile-mode: t
  electric-pair-mode: t
  winner-mode: t
  delete-selection-mode: t
  dired-async-mode: t
  show-paren-mode: t
  ido-everywhere: t
  shell-dirtrack-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/adam/.emacs.d/straight/build/let-alist/let-alist hides /usr/share/emacs/26.3/lisp/emacs-lisp/let-alist

Features:
(shadow emacsbug sendmail novice help-fns radix-tree magit-extras
magit-submodule magit-obsolete magit-blame magit-stash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote
magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-files magit-refs magit-status
magit package url-handlers magit-repos magit-apply magit-wip magit-log
which-func imenu magit-diff smerge-mode magit-core magit-autorevert
autorevert filenotify magit-margin magit-transient magit-process
magit-mode transient git-commit magit-git magit-section magit-utils crm
log-edit pcvs-util add-log with-editor async-bytecomp sort gnus-cite
image mm-archive mail-extr gnus-async gnus-bcklg qp gnus-ml sh-script
smie hippie-exp find-func executable whitespace conf-mode ffap url-parse
url-vars files-x tramp-cache tramp-sh f dash s vc-git diff-mode paredit
elisp-slime-nav etags xref project cus-start cus-load erc-list erc-menu
erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match
erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend
erc-compat gnus-topic nndraft nnmh utf-7 epa-file network-stream nsm
starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg
gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap nntp
gnus-cache gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap
nnmail mail-source tls gnutls utf7 netrc nnoo gnus-spec gnus-int
gnus-range message rmc puny rfc822 mml mml-sec epa epg epg-config
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047
rfc2045 ietf-drums mail-utils mm-util mail-prsvr wid-edit misearch
multi-isearch pp server em-unix em-term term ehelp em-script em-prompt
em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner
em-alias esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg
esh-groups eshell esh-module esh-mode esh-util aggressive-indent
projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs elec-pair
winner delsel dired-async async dired-aux dired-x dired dired-loaddefs
paren ido edmacro kmacro crux easy-mmode pcase tramp tramp-compat
tramp-loaddefs trampver ucs-normalize shell pcomplete comint regexp-opt
ansi-color ring parse-time format-spec auth-source cl-seq eieio
eieio-core eieio-loaddefs password-cache thingatpt browse-kill-ring
advice derived cl keychain-environment slime-autoloads
macrostep-autoloads elisp-slime-nav-autoloads paredit-autoloads
aggressive-indent-autoloads flycheck-autoloads let-alist-autoloads
projectile-autoloads pkg-info-autoloads epl-autoloads finder-inf
magit-autoloads transient-autoloads git-commit-autoloads
with-editor-autoloads async-autoloads ht-autoloads f-autoloads
s-autoloads a-autoloads dash-autoloads seq byte-opt straight-autoloads
info tool-bar cl-extra help-mode easymenu time-date straight subr-x
cl-macs gv bytecomp byte-compile cl-loaddefs cl-lib cconv disp-table
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads inotify multi-tty make-network-process emacs)

Memory information:
((conses 16 517226 472465)
 (symbols 48 43790 34)
 (miscs 40 1583 5798)
 (strings 32 116992 66280)
 (string-bytes 1 3880561)
 (vectors 16 78808)
 (vector-slots 8 2044003 709528)
 (floats 8 459 6749)
 (intervals 56 10218 9401)
 (buffers 992 52))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38728; Package emacs. (Tue, 24 Dec 2019 08:25:02 GMT) Full text and rfc822 format available.

Message #8 received at 38728 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Adam Schaefers <paxchristi888 <at> gmail.com>
Cc: 38728 <at> debbugs.gnu.org
Subject: Re: bug#38728: 26.3; eshell with tramp su is unable to execute
 system binaries
Date: Tue, 24 Dec 2019 09:23:59 +0100
Adam Schaefers <paxchristi888 <at> 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 <at> 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.




Added tag(s) moreinfo. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Tue, 11 Feb 2020 12:05:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38728; Package emacs. (Tue, 11 Feb 2020 12:10:01 GMT) Full text and rfc822 format available.

Message #13 received at 38728 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Adam Schaefers <paxchristi888 <at> gmail.com>
Cc: 38728 <at> debbugs.gnu.org
Subject: Re: bug#38728: 26.3; eshell with tramp su is unable to execute
 system binaries
Date: Tue, 11 Feb 2020 13:09:25 +0100
Michael Albinus <michael.albinus <at> gmx.de> 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 <at> 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.

Any news? I fear I cannot do anything w/o more information.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38728; Package emacs. (Sat, 29 Feb 2020 09:51:02 GMT) Full text and rfc822 format available.

Message #16 received at 38728 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Adam Schaefers <paxchristi888 <at> gmail.com>
Cc: 38728 <at> debbugs.gnu.org
Subject: Re: bug#38728: 26.3; eshell with tramp su is unable to execute
 system binaries
Date: Sat, 29 Feb 2020 10:50:07 +0100
Michael Albinus <michael.albinus <at> gmx.de> 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 <at> 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.
>
> Any news? I fear I cannot do anything w/o more information.

I'm closing this as unreproducible. Feel free to reopen (reply) if
there's something else to say.

Best regards, Michael.




Added tag(s) unreproducible. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Sat, 29 Feb 2020 09:51:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 38728 <at> debbugs.gnu.org and Adam Schaefers <paxchristi888 <at> gmail.com> Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Sat, 29 Feb 2020 09:51:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 28 Mar 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.