Re: MC bug?

"Yury V. Zaytsev" <[email protected]> Mon, 10 Oct 2016 20:16:51 +0200 (CEST)
Newsgroups gmane.comp.gnome.apps.mc.devel
Message-ID <[email protected]>
On Thu, 29 Sep 2016, Павел Хмиленко wrote:

> MC installed with brew on macOS Sierra. Getting this error message when trying to run as superuser.
>  
> https://gyazo.com/5867954c6971e643a89c5772d1982111 screenshot
>  
> Runs as superuser only if
>  
>       sudo mc -u --nosubshell

Well, it couldn't detect your root shell for one reason or another, or 
rather it detected it as SHELL_SH and doesn't know what to do with it.

You can try the patch from this ticket and see if it works for you:

     http://www.midnight-commander.org/ticket/3692#comment:7

There is some work done there to make subshell detection much more robust.

In the mean time, you can of course always use bash explicitly:

     sudo /bin/bash -c mc

-- 
Sincerely yours,
Yury V. Zaytsev

_______________________________________________
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel