borg icon indicating copy to clipboard operation
borg copied to clipboard

ACLs on Linux: use acl_to_any_text

Open ThomasWaldmann opened this issue 8 months ago • 0 comments

https://man7.org/linux/man-pages/man3/acl_to_any_text.3.html

Compared to acl_to_text, we can:

  • get the uid / gid instead of the names
  • avoid a gazillion more or less expensive, uncached lookups inside libacl for the user/group names (especially for samba / winbind this can be slow)
  • replace these by cached lookups inside borg

ThomasWaldmann avatar Apr 14 '25 19:04 ThomasWaldmann