This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 10368a71a47 [fix][security]security optimize for executable binary
file doris_be access should be restricted (#29303)
10368a71a47 is described below
commit 10368a71a479006a5819cb080fe3d958cbf5bf2c
Author: Guangming Lu <[email protected]>
AuthorDate: Sat Dec 30 23:39:16 2023 +0800
[fix][security]security optimize for executable binary file doris_be access
should be restricted (#29303)
---
bin/start_be.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/start_be.sh b/bin/start_be.sh
index debf0eda7d0..ebf52a05ff9 100755
--- a/bin/start_be.sh
+++ b/bin/start_be.sh
@@ -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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]