[fix][security]security optimize for executable binary file doris_be access should be restricted (#29303)

This commit is contained in:
Guangming Lu
2023-12-30 23:39:16 +08:00
committed by GitHub
parent 6aaa829870
commit 10368a71a4

View File

@ -231,7 +231,7 @@ if [[ -f "${pidfile}" ]]; then
fi
fi
chmod 755 "${DORIS_HOME}/lib/doris_be"
chmod 550 "${DORIS_HOME}/lib/doris_be"
echo "start time: $(date)" >>"${LOG_DIR}/be.out"
if [[ ! -f '/bin/limit3' ]]; then