summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/acl/files/0014-nfsd4-remove-spurious-XATTR_REPLACE.patch')
-rw-r--r--sys-apps/acl/files/0014-nfsd4-remove-spurious-XATTR_REPLACE.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/sys-apps/acl/files/0014-nfsd4-remove-spurious-XATTR_REPLACE.patch b/sys-apps/acl/files/0014-nfsd4-remove-spurious-XATTR_REPLACE.patch
deleted file mode 100644
index f2f8402..0000000
--- a/sys-apps/acl/files/0014-nfsd4-remove-spurious-XATTR_REPLACE.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 6542fbd970376cc7f7cbdfa1a6dfc7efc5149d62 Mon Sep 17 00:00:00 2001
-From: "J. Bruce Fields" <bfields@citi.umich.edu>
-Date: Wed, 9 May 2007 14:20:34 -0400
-Subject: [PATCH 14/17] nfsd4: remove spurious XATTR_REPLACE
-
-For some reason we're calling acl_set_file with XATTR_REPLACE. I have
-no idea why, and it can make it impossible to set an acl on a filesystem
-that didn't previously have one (on those filesystems that don't just
-fake up an acl on their on in this case).
-
-Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
----
- libacl/acl_set_file.c | 3 +--
- 1 files changed, 1 insertions(+), 2 deletions(-)
-
-diff --git a/libacl/acl_set_file.c b/libacl/acl_set_file.c
-index 303e39c..ba84999 100644
---- a/libacl/acl_set_file.c
-+++ b/libacl/acl_set_file.c
-@@ -140,8 +140,7 @@ acl_set_file(const char *path_p, acl_type_t type, acl_t acl)
-
- if (!ext_acl_p)
- return -1;
--
-- error = setxattr(path_p, name, (char *)ext_acl_p, size, XATTR_REPLACE);
-+ error = setxattr(path_p, name, (char *)ext_acl_p, size, 0);
- free(ext_acl_p);
- return error;
- }
---
-1.7.8.1
-