From 88b912eca984dbd9aa141e1ffd9227f909127e1a Mon Sep 17 00:00:00 2001 From: hang zhang Date: Fri, 8 Nov 2024 11:10:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=84=9A=E6=9C=AC=E9=94=99?= =?UTF-8?q?=E8=AF=AF=EF=BC=9ASANDBOX=5FUSER=E5=8F=96uid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/sandbox.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sandbox.sh b/bin/sandbox.sh index 17eb578e..4f49cf1c 100755 --- a/bin/sandbox.sh +++ b/bin/sandbox.sh @@ -11,7 +11,7 @@ typeset SANDBOX_HOME_DIR [[ -z ${SANDBOX_HOME_DIR} ]] && SANDBOX_HOME_DIR=${PWD}/.. # define current SANDBOX_USER -typeset SANDBOX_USER=${USER} +typeset SANDBOX_USER=$(id -u) [[ -z ${SANDBOX_USER} ]] && SANDBOX_USER=$(whoami) # define sandbox's network