all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#38728: 26.3; eshell with tramp su is unable to execute system binaries
@ 2019-12-24  4:42 Adam Schaefers
  2019-12-24  8:23 ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Schaefers @ 2019-12-24  4:42 UTC (permalink / raw)
  To: 38728


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


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))





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38728: 26.3; eshell with tramp su is unable to execute system binaries
  2019-12-24  4:42 bug#38728: 26.3; eshell with tramp su is unable to execute system binaries Adam Schaefers
@ 2019-12-24  8:23 ` Michael Albinus
  2020-02-11 12:09   ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2019-12-24  8:23 UTC (permalink / raw)
  To: Adam Schaefers; +Cc: 38728

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38728: 26.3; eshell with tramp su is unable to execute system binaries
  2019-12-24  8:23 ` Michael Albinus
@ 2020-02-11 12:09   ` Michael Albinus
  2020-02-29  9:50     ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2020-02-11 12:09 UTC (permalink / raw)
  To: Adam Schaefers; +Cc: 38728

Michael Albinus <michael.albinus@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@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38728: 26.3; eshell with tramp su is unable to execute system binaries
  2020-02-11 12:09   ` Michael Albinus
@ 2020-02-29  9:50     ` Michael Albinus
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2020-02-29  9:50 UTC (permalink / raw)
  To: Adam Schaefers; +Cc: 38728

Michael Albinus <michael.albinus@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@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-02-29  9:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-24  4:42 bug#38728: 26.3; eshell with tramp su is unable to execute system binaries Adam Schaefers
2019-12-24  8:23 ` Michael Albinus
2020-02-11 12:09   ` Michael Albinus
2020-02-29  9:50     ` Michael Albinus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.