This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 5aa8acb5851 [Fix][security] The doris_be file has too big permission
should be restricted (#30172)
5aa8acb5851 is described below
commit 5aa8acb5851ac3a6af914991507b4e5721b98d88
Author: Guangming Lu <[email protected]>
AuthorDate: Sun Feb 4 18:28:33 2024 +0800
[Fix][security] The doris_be file has too big permission should be
restricted (#30172)
---
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 9fa13e95ae3..51420d765f5 100755
--- a/bin/start_be.sh
+++ b/bin/start_be.sh
@@ -233,7 +233,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]