1 |
commit: 6b13996ffd2f9aee9bf924a304a4a4073ad84421 |
2 |
Author: Michael Weiser <michael.weiser <AT> gmx <DOT> de> |
3 |
AuthorDate: Fri Dec 8 10:00:47 2017 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 12 08:12:36 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=6b13996f |
7 |
|
8 |
Fix macOS 10.13 seatbelt sandbox suid bit setting |
9 |
|
10 |
macOS 10.13 changed the defaults for what is allowed in a seatbelt |
11 |
sandbox, denying setting suid and sgid bits on files. See |
12 |
https://trac.macports.org/ticket/54963 for additional information. |
13 |
|
14 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
15 |
|
16 |
pym/portage/const.py | 2 +- |
17 |
1 file changed, 1 insertion(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/pym/portage/const.py b/pym/portage/const.py |
20 |
index 172c5b189..bdb287379 100644 |
21 |
--- a/pym/portage/const.py |
22 |
+++ b/pym/portage/const.py |
23 |
@@ -83,7 +83,7 @@ MACOSSANDBOX_BINARY = "/usr/bin/sandbox-exec" |
24 |
MACOSSANDBOX_PROFILE = '''(version 1) |
25 |
(allow default) |
26 |
(deny file-write*) |
27 |
-(allow file-write* |
28 |
+(allow file-write* file-write-setugid |
29 |
@@MACOSSANDBOX_PATHS@@) |
30 |
(allow file-write-data |
31 |
@@MACOSSANDBOX_PATHS_CONTENT_ONLY@@)''' |