--- buildman/install 2025/01/21 21:14:49 1.6 +++ buildman/install 2025/01/21 22:31:15 1.8 @@ -18,11 +18,11 @@ PROGN=`basename $0` -if [ "$UID" != "0" ] -then - echo "$PROGN error: must run as root" - exit 1 -fi +#if [ "$UID" != "0" ] +#then +# echo "$PROGN error: must run as root" +# exit 1 +#fi TARGET="client" TUSER="build:6000" @@ -90,8 +90,8 @@ T_GID=`echo ${TGROUP} | cut -d: -f2` groupadd -g ${T_GID} ${T_GRPNAM} useradd -u ${T_UID} -g ${T_GRPNAM} -c "BuildMan" -m -d "${BUILDMAN_BASE}" "${T_LOGIN}" -install -u ${T_UID} -g ${T_GID} -m 750 bm "${INSTALL_BASE}/sbin/bm" -install -u ${T_UID} -g ${T_GID} -m 750 bma "${INSTALL_BASE}/sbin/bma" +install -o ${T_UID} -g ${T_GID} -m 750 bm "${INSTALL_BASE}/sbin/bm" +install -o ${T_UID} -g ${T_GID} -m 750 bma "${INSTALL_BASE}/sbin/bma" DEF="/etc/default/bm"