feat: recursively take ownership over the copied in coyote config for the sbx

This commit is contained in:
2026-07-01 16:54:57 -06:00
parent 318d9ba1cd
commit af50909a89
+1 -1
View File
@@ -461,7 +461,7 @@ fn sandbox_path_parent(linux_path: &str) -> Option<&str> {
fn ensure_sandbox_dir(sandbox: &str, dir: &str) -> Result<()> { fn ensure_sandbox_dir(sandbox: &str, dir: &str) -> Result<()> {
let dir_q = shell_words::quote(dir); let dir_q = shell_words::quote(dir);
let cmd = format!("sudo mkdir -p {dir_q} && sudo chown agent:agent {dir_q}"); let cmd = format!("sudo mkdir -p {dir_q} && sudo chown -R agent:agent {dir_q}");
debug!("sbx exec {sandbox}: {cmd}"); debug!("sbx exec {sandbox}: {cmd}");