Skip to content

micro sometimes truncates files to 0B when running out of disk space #1916

@prez

Description

@prez

Description of the problem or steps to reproduce

When disk space is low, micro will sometimes delete the contents of files it opens, along with micro's settings.json (results in "Error reading settings.json, Unexpected EOF")

Unfortunately, I don't have an exact sequence of steps to reproduce, but this mishap occured thrice or more to me already, so I am pretty confident in the validity of this report.

Specifications

Version: 2.0.8-dev.15
Commit hash: 530041a
OS: Linux
Terminal: Konsole

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions