From 2eecdc2a840707221deca3c3a71538f40462a270 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 17 Dec 2014 18:19:46 +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 f5417b9..bf23c84 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: 1001, Size: 1}} - cmd.SysProcAttr.GidMappings = []syscall.SysProcIDMap{{ContainerID: 1001, HostID: 1001, Size: 1}} + cmd.SysProcAttr.UidMappings = []syscall.SysProcIDMap{{ContainerID: 1001, HostID: 1000, Size: 1}} + cmd.SysProcAttr.GidMappings = []syscall.SysProcIDMap{{ContainerID: 1001, HostID: 1000, Size: 1}} stdout, err := cmd.StdoutPipe() if nil != err {