This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new e235255b829 branch-3.0: [chore](security) user_files_secure_path 
cannot be changed #55395 (#55503)
e235255b829 is described below

commit e235255b829f24600d80a4870a7e24ed467ac323
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Sep 11 09:15:01 2025 +0800

    branch-3.0: [chore](security) user_files_secure_path cannot be changed 
#55395 (#55503)
    
    Cherry-picked from #55395
    
    Co-authored-by: Gavin Chou <[email protected]>
---
 be/src/common/config.cpp | 2 +-
 be/src/common/config.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp
index 9d10de28df7..d761b47fbd2 100644
--- a/be/src/common/config.cpp
+++ b/be/src/common/config.cpp
@@ -1261,7 +1261,7 @@ DEFINE_mBool(enable_mow_get_agg_by_cache, "true");
 DEFINE_mBool(enable_mow_get_agg_correctness_check_core, "false");
 
 // The secure path with user files, used in the `local` table function.
-DEFINE_mString(user_files_secure_path, "${DORIS_HOME}");
+DEFINE_String(user_files_secure_path, "${DORIS_HOME}");
 
 DEFINE_Int32(fe_expire_duration_seconds, "60");
 
diff --git a/be/src/common/config.h b/be/src/common/config.h
index 80273159628..55d6143fc79 100644
--- a/be/src/common/config.h
+++ b/be/src/common/config.h
@@ -1320,7 +1320,7 @@ DECLARE_mBool(enable_mow_get_agg_by_cache);
 DECLARE_mBool(enable_mow_get_agg_correctness_check_core);
 
 // The secure path with user files, used in the `local` table function.
-DECLARE_mString(user_files_secure_path);
+DECLARE_String(user_files_secure_path);
 
 // If fe's frontend info has not been updated for more than 
fe_expire_duration_seconds, it will be regarded
 // as an abnormal fe, this will cause be to cancel this fe's related query.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to