Not working (no keystrokes are registered) when editing privileged file, works fine with sudo #3039
Replies: 2 comments
-
I think files where privileges are needed when saving were not able to be edited because you were using 2.0.9. There was a bug where such files were opened as read-only but it was fixed at 0b0c99f in 2.0.10. The version of micro in Ubuntu 22.04 is 2.0.9 but other versions can be downloaded in GitHub and used. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, updating to the latest version fixed this, I was using an outdated version from Ubuntu repo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On some of our servers, when trying to edit a privileged file (like
/etc/hosts
or any other "sudo-file") the editor is not registering keystrokes. Just nothing happens in the editor windowCtrl+e
,Ctrl+g
and other commands work fine.When restarted under sudo
sudo micro /etc/hosts
all works fine.This happens on Ubuntu 22.04.
Beta Was this translation helpful? Give feedback.
All reactions