Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doas and micro is not good option #2899

Open
ghost opened this issue Aug 25, 2023 · 1 comment
Open

doas and micro is not good option #2899

ghost opened this issue Aug 25, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 25, 2023

Doas (permission command) can allow users to do stuff for granted root. In nutshell, doas allow you to be a temporary root.
But micro editor don't know about that, and he is thinking about common user, like a serious root. That cause many issues, like getting the wrong workspace, because micro has download root config file.

Someone must write code, where micro is reading $USER variable.

@scplusplus
Copy link

scplusplus commented Sep 11, 2023

aditionally if you install doas and uninstall sudo, then use micro to open a file that your user does not have write permissions too, make modifications to said file and then attempt to save, confirm with y it even leads to a crash. this can all be fixed by simply just opening micro, control + E, set sucmd doas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant