sudo midnight commander
- by mit
I sometimes start midnight commander as superuser with the command sudo mc to do some operations on the current working directory as superuser.
But this results in ~/.mc having the wrong permissions, which I need to fix manually.
Any solution?
Edit:
I accepted an answer. I want to further add, that .mc is a directory, so my solution goes like…