--- a/libfakeroot.c
+++ b/libfakeroot.c
@@ -2038,8 +2038,8 @@ ssize_t flistxattr(int fd, char *list, size_t size)

  r = next_flistxattr(fd, list, size);
  if (fakeroot_disabled
-      || r > 0
-      || (r < 0 && errno != EPERM && errno != EOPNOTSUPP))
+      || r >= 0
+      || (errno != EPERM && errno != EOPNOTSUPP))
    return r;
  errno = 0;

So, that's reverting the fix for #1138512, which might be the right
thing to do short term, but I'd like to try to get the xattr stuff
to a stable point if we can do that quickly.  Cc:ing Janneke, but
I'll try to figure it out soon too.

Reply via email to