Skip to content

vim: Saving a file that has xattrs resets the xattrs #21

Description

@pjotrek-b

Saving a file with vim (8.1.1847, Xubuntu 20.04) that has xattrs set, resets its xattrs:

  1. touch aha
  2. setfattr -n user.pb -v "aha works" aha
  3. alias gx='getfattr -d -m - '
  4. gx * # show attributes
  5. vim aha (then :wq save and exit)
  6. gx * # shows no more attributes

Attributes are gone. 😭

This is how things are like /RIGHT NOW/ - where xattrs are not properly cared for in the user/tool landscape.
This does not have to stay like that in the future.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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