Skip to content

GUI editor for xattr filter patterns #8660

Closed

Description

@calmh

The per-folder xattr filter is a complex object which is not by itself editable in the advanced config editor, and there's nothing custom built for it in the normal settings editor, so it's currently unavailable except for hacking the config file manually.

There should be an editor for it in the normal settings dialog, under the xattr enablement checkboxes. There is should be possible to add a list of patterns, each with an allow/deny checkbox.

The default is to allow all attributes if there are no patterns configured; this should be indicated in the GUI. When there are any patterns at all, the default (for things not matched by any pattern) becomes deny; this should also be indicated, especially if the user just adds one deny-pattern -- we should then suggest adding a permit * pattern at the end, maybe even add it by default and allow it to be removed or edited, or something like that.

Activity

  1. added
    enhancement
    on Nov 9, 2022
  2. luckman212 commented on Nov 10, 2022

    @luckman212
    Contributor

    A note about recommended patterns based on the platform would be useful too. For example, on macOS, com.apple.provenance appears to be "untouchable" by any process and so should probably be part of a default exclusion list (or at least strongly suggested).

    Some other potentially useful patterns for macOS:

    com.apple.quarantine
    com.apple.macl
    com.apple.lastuseddate#PS
    
  3. self-assigned this
    on Dec 5, 2022
  4. added a commit that references this issue on Dec 13, 2022
    3ca5f9d
  5. added this to the v1.23.2 milestone on Feb 12, 2023
  6. added a commit that references this issue on Feb 22, 2023
    22f7807
  7. luckman212 commented on Mar 7, 2023

    @luckman212
    Contributor

    @calmh Awesome! 🚀

  8. added a commit that references this issue on Mar 10, 2023
    946fb8b
  9. added a commit that references this issue on Jan 28, 2024
    0530f0e
  10. added
    frozen-due-to-age
    on Feb 9, 2024
  11. locked and limited conversation to collaborators on Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementfrozen-due-to-age

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions