Stop --chdir from binding the working directory read-write

This commit is contained in:
2026-11-17 20:37:01 +01:00
parent 352ead2bf5
commit 4b801f811e
8 changed files with 72 additions and 21 deletions
+2 -1
View File
@@ -20,7 +20,7 @@ whitelist = true
# seccomp = false # default: true
# env-filter = false # default: true
# dry-run = true
# chdir = "~/projects/my-repo"
# chdir = "~/projects/my-repo" # only sets the working directory; bind it with ro/rw
ro = [
"~/.config/agents",
@@ -29,6 +29,7 @@ ro = [
# "/host/path:/sandbox/path", # SRC:DST -> mount host SRC at a different target
]
rw = [
"$PWD", # the directory agent-sandbox was launched from
"~/.cargo",
"~/.rustup",
]