On Tue, 20 Jun 2023 17:34:45 -0400 gene heskett <ghesk...@shentel.net> wrote:
> My fav editor, geany is also > dead for roots use for exactly he same reason, but runs just fine as > me. So there is a common problem. Well, you could do it the right way: edit as you with geany in a work directory, copy to/from the real location with a root-powered file manager, such as mc under sudo in a terminal. Alter owner/perms as required with mc. That way still allows mistakes to be made, but you made a renamed copy of the edited file before you started, didn't you? Using a non-gui graphical application such as mc can also help with discipline: doing something in mc? Then be damn careful, because you're probably root. I hardly ever use mc unprivileged, I have GUI file managers for non-root work. -- Joe