summaryrefslogtreecommitdiff
path: root/packages/cli/src/utils/sandbox-macos-restrictive-open.sb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/utils/sandbox-macos-restrictive-open.sb')
-rw-r--r--packages/cli/src/utils/sandbox-macos-restrictive-open.sb6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/cli/src/utils/sandbox-macos-restrictive-open.sb b/packages/cli/src/utils/sandbox-macos-restrictive-open.sb
index e89b8090..17f27224 100644
--- a/packages/cli/src/utils/sandbox-macos-restrictive-open.sb
+++ b/packages/cli/src/utils/sandbox-macos-restrictive-open.sb
@@ -71,6 +71,12 @@
(subpath (string-append (param "HOME_DIR") "/.npm"))
(subpath (string-append (param "HOME_DIR") "/.cache"))
(subpath (string-append (param "HOME_DIR") "/.gitconfig"))
+ ;; Allow writes to included directories from --include-directories
+ (subpath (param "INCLUDE_DIR_0"))
+ (subpath (param "INCLUDE_DIR_1"))
+ (subpath (param "INCLUDE_DIR_2"))
+ (subpath (param "INCLUDE_DIR_3"))
+ (subpath (param "INCLUDE_DIR_4"))
(literal "/dev/stdout")
(literal "/dev/stderr")
(literal "/dev/null")