aboutsummaryrefslogtreecommitdiffstats
path: root/community/ceph/allperms.patch
blob: a5ce1c031dfb38340ddeb4923fd7f2ee423dc08e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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();