You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by yo...@apache.org on 2025/08/01 03:34:01 UTC
(iotdb) 01/01: finish
This is an automated email from the ASF dual-hosted git repository.
yongzao pushed a commit to branch folder-level
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 1fdd51f29cba54bb25f01340134d8f5f3d3c317c
Author: Yongzao <53...@qq.com>
AuthorDate: Fri Aug 1 11:33:52 2025 +0800
finish
---
iotdb-core/ainode/ainode/core/ainode.py | 1 -
iotdb-core/ainode/ainode/core/log.py | 2 --
2 files changed, 3 deletions(-)
diff --git a/iotdb-core/ainode/ainode/core/ainode.py b/iotdb-core/ainode/ainode/core/ainode.py
index 3ec1f099131..fc03e67921f 100644
--- a/iotdb-core/ainode/ainode/core/ainode.py
+++ b/iotdb-core/ainode/ainode/core/ainode.py
@@ -64,7 +64,6 @@ def _check_path_permission():
if not os.path.exists(system_path):
try:
os.makedirs(system_path)
- os.chmod(system_path, 0o777)
except PermissionError as e:
logger.error(e)
raise e
diff --git a/iotdb-core/ainode/ainode/core/log.py b/iotdb-core/ainode/ainode/core/log.py
index 4e5d426a20e..dbe71fa364d 100644
--- a/iotdb-core/ainode/ainode/core/log.py
+++ b/iotdb-core/ainode/ainode/core/log.py
@@ -98,13 +98,11 @@ class Logger:
file_levels = AINODE_LOG_FILE_LEVELS
if not os.path.exists(log_dir):
os.makedirs(log_dir)
- os.chmod(log_dir, 0o777)
for file_name in file_names:
log_path = log_dir + "/" + file_name
if not os.path.exists(log_path):
f = open(log_path, mode="w", encoding="utf-8")
f.close()
- os.chmod(log_path, 0o777)
self.file_handlers = []
for l in range(len(file_names)):
self.file_handlers.append(