Skip to content

Nixfmt does not persist file ownership #73

@jnsaff

Description

@jnsaff

Description

When run on a file to be formatted in place nixfmt does not persist file ownership. When run as a user that is not the owner of the file but has permissions to edit the file the formatted file ownership will be changed to the user running nixfmt.

This can be easily worked around and is a remote edge case to begin with but I'm reporting it still for completeness sake.

Thank you for the great work from a fellow nixer from Tallinn!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions