GNU bug report logs - #56333
29.0.50; Trying to uncompress through Tramp: /bin/sh: 195: /usr/bin/bash: not found

Previous Next

Package: emacs;

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

Date: Fri, 1 Jul 2022 07:07: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 #8 received at 56333 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Jean Louis <bugs <at> gnu.support>
Cc: 56333 <at> debbugs.gnu.org
Subject: Re: bug#56333: 29.0.50; Trying to uncompress through Tramp:
 /bin/sh: 195: /usr/bin/bash: not found
Date: Sat, 02 Jul 2022 13:23:50 +0200
Jean Louis <bugs <at> gnu.support> writes:

Hi Jean,

> I would not know how to debug this. I have tried using Z on remote host:
> /scp:example.com:/var/www/websites/www.example.com
>
> on a file like web.tar.gz
>
> and I got this error in new opened buffer *dired-check-process output*:
>
> /bin/sh: 195: /usr/bin/bash: not found

In dired-shell-command, the variable shell-file-name is used. This is
"/usr/bin/bash" in your case, and it doesn't exist on the remote host.

I've changed this function to use the connection-local value instead
("/bin/sh" by default). This should fix it.

Pushed to master. Could you, pls, check?

Best regards, Michael.




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

Previous Next


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