summaryrefslogtreecommitdiff
path: root/packages/cli/src/utils/sandbox-macos-restrictive-open.sb
diff options
context:
space:
mode:
authorYuki Okita <[email protected]>2025-07-31 05:38:20 +0900
committerGitHub <[email protected]>2025-07-30 20:38:20 +0000
commitc1fe6889569610878c45216556fb99424b5bcba4 (patch)
treeb96f5f66bc00426fcd3e4b87402067342abbce12 /packages/cli/src/utils/sandbox-macos-restrictive-open.sb
parent21965f986c8aa99da5a0f8e52ae823bb2f040d7a (diff)
feat: Multi-Directory Workspace Support (part1: add `--include-directories` option) (#4605)
Co-authored-by: Allen Hutchison <[email protected]>
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")