From 8e6d5c860a627776fd1f5caeff676c5e9390b1ac Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 17 Dec 2014 18:31:44 +0800 Subject: [PATCH] . --- output/outputs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/output/outputs.go b/output/outputs.go index bf23c84..f5417b9 100644 --- a/output/outputs.go +++ b/output/outputs.go @@ -114,8 +114,8 @@ func RunHandler(w http.ResponseWriter, r *http.Request) { Gid: 1001, } - cmd.SysProcAttr.UidMappings = []syscall.SysProcIDMap{{ContainerID: 1001, HostID: 1000, Size: 1}} - cmd.SysProcAttr.GidMappings = []syscall.SysProcIDMap{{ContainerID: 1001, HostID: 1000, Size: 1}} + cmd.SysProcAttr.UidMappings = []syscall.SysProcIDMap{{ContainerID: 1001, HostID: 1001, Size: 1}} + cmd.SysProcAttr.GidMappings = []syscall.SysProcIDMap{{ContainerID: 1001, HostID: 1001, Size: 1}} stdout, err := cmd.StdoutPipe() if nil != err {