Skip to content

Conversation

@jkl1337
Copy link

@jkl1337 jkl1337 commented Sep 30, 2023

The exclude by attribute function is broken on non-Darwin POSIX: linux and freebsd. This is because those xattrs must be prefixed by a legal namespace. The old xattr library implicitly appended the user namespace to the xattr, but the current official go pkg does not (which is just as well).

Also fix the test to remove the discordant old xattr dependency and provide test cases for both darwin and non-darwin POSIX.

The exclude by attribute function is broken on non-Darwin POSIX: linux and freebsd.
This is because those xattrs must be prefixed by a legal namespace. The old xattr
library implicitly appended the user namespace to the xattr, but the current
official go pkg does not (which is just as well).

Also fix the test to remove the discordant old xattr dependency and provide
test cases for both darwin and non-darwin POSIX.
@jkl1337 jkl1337 force-pushed the xattr-exclude-posix-fix branch from 33e483e to d81eab6 Compare October 5, 2023 03:09
@jkl1337 jkl1337 force-pushed the xattr-exclude-posix-fix branch from d81eab6 to e30bf3b Compare October 5, 2023 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant