Displaying 1 result from an estimated 1 matches for "no_acl_syscall_error".
2010 Dec 23
1
DO NOT REPLY [Bug 7884] New: Workaround for ACL problem with ZFS under FreeBSD
.../
+ case EINVAL:
+#endif
/* No ACLs are available. */
break;
case ENOENT:
--- lib/sysacls.c.orig 2010-12-23 10:47:02.945461082 +0100
+++ lib/sysacls.c 2010-12-23 10:44:52.000000000 +0100
@@ -2771,6 +2771,13 @@ int no_acl_syscall_error(int err)
if (err == ENOENT)
return 1; /* Weird problem with directory ACLs. */
#endif
+#ifdef __FreeBSD__
+ if (err == EINVAL)
+ /*
+ * Workaround for improper NFSv4 ACL handling in rsync.
+ */
+ return 1;
+#en...