From 9d76269667d98ab1e84b106a8f9fe8aab52592f9 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 17 Dec 2014 17:20:04 +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 14e33e9..795bead 100644 --- a/output/outputs.go +++ b/output/outputs.go @@ -104,8 +104,8 @@ func RunHandler(w http.ResponseWriter, r *http.Request) { Gid: 1001, // gourp: wide_runner } - 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 {