+2007-03-04 Jim Meyering <jim@meyering.net>
+
+ Work around difference between Linux ACLs and Solaris 10 ZFS.
+ * lib/acl.c (set_acl): Revert to using chmod_or_fchmod also
+ for EINVAL.
+
2007-03-03 Bruno Haible <bruno@clisp.org>
* modules/relocatable-prog (Depends-on): Add back progreloc's
/* acl.c - access control lists
- Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
int saved_errno = errno;
acl_free (acl);
- if (errno == ENOTSUP || errno == ENOSYS)
+ if (errno == ENOTSUP || errno == ENOSYS || errno == EINVAL)
{
if (chmod_or_fchmod (name, desc, mode) != 0)
saved_errno = errno;