micro-editor / micro-editor/micro
Micro fails to start on Gentoo Linux, throws "Permission denied to /dev/tty" error
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Description of the problem or steps to reproduce
Micro fails to start unless run as root
produces error:
open: /dev/tty: permission denied
Fatal: Micro could not initialize a Screen.
Specifications
Commit hash: b9763856
OS: Gentoo Linux AMD64
Terminal: Alacritty
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure on Gentoo Linux AMD64 with commit b9763856 in Alacritty, comparing normal and root execution. Trace Micro's terminal screen initialization around the /dev/tty open failure; done means Micro starts normally without root and the permission-related failure is covered by an appropriate regression check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100