micro-editor / micro-editor/micro

Can't edit `settings.json`

Open
#3,484 4 comments 0 reactions 0 assignees View on GitHub

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

Every time I'm editing & saving ~/.config/micro/settings.json it is being reset by something. And the editor prompts with The file on the disk has changed.. Permissions are correct. Ownership is correct. Doing this as the owner. Nothing is using the file, according to sudo fuser ~/.config/micro/settings.json.

Specifications

  • OS: Bazzite Holographic 40 (Silverblue) x86_64
  • Terminal: Ptyxis 46.6
  • Commit hash: 225927b

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reset while editing ~/.config/micro/settings.json on the reported environment, then trace how micro watches or writes that file and produces the “file on the disk has changed” prompt. Done means edits persist without an unexpected external overwrite and the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.