Skip to content

ACLs on Linux: use acl_to_any_text #8753

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ThomasWaldmann opened this issue Apr 14, 2025 · 0 comments
Open

ACLs on Linux: use acl_to_any_text #8753

ThomasWaldmann opened this issue Apr 14, 2025 · 0 comments

Comments

@ThomasWaldmann
Copy link
Member

ThomasWaldmann commented Apr 14, 2025

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant