Skip to content

Commit da53c1f

Browse files
committed
Attach needs to apply guid/uid
1 parent 8f9fc57 commit da53c1f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/wrap.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,8 @@ impl Wrappable for AttachRequest {
810810
debug!("all namespaces joined -- forking child");
811811
fork_and_wait()?;
812812

813+
apply_gid_uid(self.exec.gid, self.exec.uid)?;
814+
813815
self.exec.execute()
814816
}
815817
}

0 commit comments

Comments
 (0)