MC bug?
Yury V. Zaytsev
yury at shurup.com
Mon Oct 10 18:16:51 UTC 2016
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
More information about the mc-devel
mailing list