use SUDO_UID & SUDO_GID to know original uid & gid
use SUDO_UID & SUDO_GID to know original uid & gid

sudo will set SUDO_UID & SUDO_GID
use this to go back original user

tboox/xmake,waruqi/xmake,tboox/xmake,tboox/xmake,tboox/xmake,waruqi/xmake,tboox/xmake,waruqi/xmake,waruqi/xmake,tboox/xmake,tboox/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake