Mc fails with permission error - how to fix


A recent change in DH configuration has caused the /tmp dir to be mounted as noexec. The end result is the menu options in MC (midnight commander) no longer work and fail with a permisssion error. This is a workaround.
Edit your .bash_profile file and add the following line:
export TMPDIR=~/tmp

create the tmp dir as specified. Logout and login again and now mc should work