diff --git a/src/wrap.rs b/src/wrap.rs index 12f2096..76c6ed3 100644 --- a/src/wrap.rs +++ b/src/wrap.rs @@ -810,6 +810,8 @@ impl Wrappable for AttachRequest { debug!("all namespaces joined -- forking child"); fork_and_wait()?; + apply_gid_uid(self.exec.gid, self.exec.uid)?; + self.exec.execute() } }