nobody & nogroup

This commit is contained in:
zhangkun9038@dingtalk.com 2024-04-24 09:44:59 +08:00
parent 45c6f3e3cb
commit de3bd329dd

View File

@ -55,6 +55,9 @@ if [ -f "$fileName" ];then
fi
cp $basePath/"${fileName}" .
chgrp nogroup ${fileName}
chown nobody ${fileName}
result=$?
if [ $result = 0 ];then
echo "file ${fileName} in ${projectPath} upgraded."