3 ms·
> I've made (edited) something (...) in nano and then gone to save and got "permission denied" sudoedit handles this exact case. Try it, it's very convenient.
by JoachimSchipper 14y ago
> I've made (edited) something (...) in nano and then gone to save and got "permission denied"
sudoedit handles this exact case. Try it, it's very convenient. (Of course, you have to set at least one of SUDO_EDITOR, VISUAL or EDITOR correctly.)
You also want to know about visudo, which will save you some oh-shit-I-locked-myself-out moments.