EOPNOTSUPP can be returned if the filesystem does not support xattrs (#5344)

---------

Co-authored-by: Greg Oster <oster@netbsd.org>
This commit is contained in:
gregoster
2025-09-05 13:09:27 -06:00
committed by Michael Eischer
parent b75f80ae5f
commit 37851827c5
2 changed files with 9 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
Bugfix: Ignore EOPNOTSUPP as an error for xattr
Restic 0.18.0 added xattr support for NetBSD 10+, but not all NetBSD
filesystems support xattrs. Other BSD systems can likewise return
EOPNOTSUPP, so restic now simply ignores EOPNOTSUPP errors for xattrs.
https://github.com/restic/restic/issues/5344