Skip to content

Commit 85c10b4

Browse files
authored
Merge pull request #121 from bleggett/bleggett/attach-uid-guid
Attach needs to apply guid/uid
2 parents adcb2c9 + da53c1f commit 85c10b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wrap.rs

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

843+
apply_gid_uid(self.exec.gid, self.exec.uid)?;
844+
843845
self.exec.execute()
844846
}
845847
}

0 commit comments

Comments
 (0)