feat: recursively take ownership over the copied in coyote config for the sbx
This commit is contained in:
+1
-1
@@ -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}");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user