GNU bug report logs - #57044
29.0.50; tramp-error: Reading directory: Permission denied, /scp:motorolausb:/storage/emulated/0/

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Sun, 7 Aug 2022 19:27:01 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Jean Louis <bugs <at> gnu.support>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 57044 <at> debbugs.gnu.org
Subject: Re: bug#57044: 29.0.50; tramp-error: Reading directory: Permission
 denied, /scp:motorolausb:/storage/emulated/0/
Date: Sat, 17 Sep 2022 05:12:59 +0300
* Michael Albinus <michael.albinus <at> gmx.de> [2022-09-16 14:44]:
> Jean Louis <bugs <at> gnu.support> writes:
> 
> Best regards, Michael.
> 
> > I have compiled latest Emacs Version.
> >
> > I did this:
> >
> > (add-to-list 'tramp-remote-path "/data/data/com.termux/files/usr/bin")
> >
> > (add-to-list 'tramp-remote-path "/data/data/com.termux/files/usr/bin")
> >
> > (setq tramp-verbose 10
> >       tramp-connection-properties '(("scp:motorola" "tmpdir" "/storage/emulated/0/tmp") ("ssh:motorola" "tmpdir" "/storage/emulated/0/tmp")))
> >
> > Error is that it cannot find `ls' command. I had never problems with
> > it before.
> >
> > Problem is with scp method.
> > ============================
> >
> > If I use ssh method, I can enter. I can enter with rsync method.
> >
> > If I use scp method, with the above information, I get missing `ls'
> > command.
> 
> Have you started "emacs -Q", as indicated several times by me? Nothing
> configured else but the bits from above?

I have noticed that if I cannot even set above settings without
running Tramp at least once as tramp-remote-path is not there until it
gets loaded. After tramp-cleanup-all-connections it started working,
provided I do load-library tramp first.

Without loading Tramp first I was getting that error missing ls
command.

Thank you. I guess it is solved. I will observe it for errors.


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/




This bug report was last modified 2 years and 247 days ago.

Previous Next


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