aboutsummaryrefslogtreecommitdiffstats
path: root/community/ceph/allperms.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ceph/allperms.patch')
-rw-r--r--community/ceph/allperms.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/ceph/allperms.patch b/community/ceph/allperms.patch
new file mode 100644
index 0000000000..a5ce1c031d
--- /dev/null
+++ b/community/ceph/allperms.patch
@@ -0,0 +1,13 @@
+--- ceph-11.1.1/src/test/libcephfs/test.cc.orig 2017-01-16 00:17:44.154815630 +0000
++++ ceph-11.1.1/src/test/libcephfs/test.cc 2017-01-16 00:18:09.642520993 +0000
+@@ -31,6 +31,10 @@
+ #include <map>
+ #include <vector>
+
++#ifndef ALLPERMS
++#define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
++#endif
++
+ TEST(LibCephFS, OpenEmptyComponent) {
+
+ pid_t mypid = getpid();