blob: 9f4f2a21eb141b635c29cc67b83c213262e9e48e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
https://bugs.gentoo.org/879321
From: ernsteiswuerfel <erhard_f@mailbox.org>
--- a/src/libostree/ostree-repo-checkout.c
+++ b/src/libostree/ostree-repo-checkout.c
@@ -37,6 +37,10 @@
#define OVERLAYFS_WHITEOUT_PREFIX ".ostree-wh."
+#if !defined(ALLPERMS)
+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) /* 07777 */
+#endif
+
/* Per-checkout call state/caching */
typedef struct {
GString *path_buf; /* buffer for real path if filtering enabled */
|