GNU bug report logs - #72861
30.0.90; remote tramp (30.0.90): Couldn't find a proper `ls' command

Previous Next

Package: emacs;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Wed, 28 Aug 2024 20:35:01 UTC

Severity: normal

Found in version 30.0.90

Done: Christopher Howard <christopher <at> librehacker.com>

Bug is archived. No further changes may be made.

Full log


Message #31 received at 72861-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 72861-done <at> debbugs.gnu.org
Subject: Re: bug#72861: 30.0.90; remote tramp (30.0.90): Couldn't find a
 proper `ls' command
Date: Fri, 01 Nov 2024 07:49:11 -0800
I haven't been struggling with this issue for some months now. I can't quite remember exactly how I went about resolving it, but I see the following in my init.el:

```
 '(tramp-remote-path
   '(tramp-own-remote-path tramp-default-remote-path "/bin" "/usr/bin"
                           "/sbin" "/usr/sbin" "/usr/local/bin"
                           "/usr/local/sbin" "/local/bin"
                           "/local/freeware/bin" "/local/gnu/bin"
                           "/usr/freeware/bin" "/usr/pkg/bin"
                           "/usr/contrib/bin" "/opt/bin" "/opt/sbin"
                           "/opt/local/bin" "/opt/homebrew/bin"
                           "/opt/homebrew/sbin"
                           "/run/current-system/profile/bin"))
```

/run/current-system/profile/bin is where the system wide executables are stored, and tramp-own-remote-path preserves the PATH provided by the remote login.

-- 
Christopher Howard




This bug report was last modified 205 days ago.

Previous Next


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