From 66f908f4f1d28881f035ee35c429cc7a4430be74 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 31 Aug 2009 00:53:46 +0200 Subject: [PATCH] Fix an unnecessary error on Solaris 10 on NFSv3 file systems. --- ChangeLog | 6 ++++++ lib/set-mode-acl.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 61f949aa86..7dee308a12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-08-30 Bruno Haible + + Fix an unnecessary error on Solaris 10 on NFSv3 file systems. + * lib/set-mode-acl.c (qset_acl) [Solaris 10 new]: Treat EOPNOTSUPP like + ENOSYS. + 2009-08-30 Bruno Haible * tests/test-pipe-filter-ii1.sh: Prefer /usr/xpg6/bin/tr over diff --git a/lib/set-mode-acl.c b/lib/set-mode-acl.c index a24b9f348c..34076db202 100644 --- a/lib/set-mode-acl.c +++ b/lib/set-mode-acl.c @@ -234,7 +234,7 @@ qset_acl (char const *name, int desc, mode_t mode) acl_free (aclp); if (ret < 0) { - if (saved_errno == ENOSYS) + if (saved_errno == ENOSYS || saved_errno == EOPNOTSUPP) return chmod_or_fchmod (name, desc, mode); errno = saved_errno; return -1; -- 2.30.2