fix: harden log directory creation and path resolution #61

Merged
lunny merged 1 commits from log into main 2025-06-13 19:30:15 +00:00
Member
  • Ensure the log directory is created with secure permissions, falling back to the temp directory if creation fails
  • Update log file path to use the resolved log directory

fix #58

Signed-off-by: Bo-Yi Wu appleboy.tw@gmail.com

- Ensure the log directory is created with secure permissions, falling back to the temp directory if creation fails - Update log file path to use the resolved log directory fix https://gitea.com/gitea/gitea-mcp/issues/58 Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
appleboy added 1 commit 2025-06-13 09:36:51 +00:00
fix: harden log directory creation and path resolution
All checks were successful
check-and-test / check-and-test (pull_request) Successful in 1m13s
check-and-test / Run govulncheck (pull_request) Successful in 1m16s
5de6d90e25
- Ensure the log directory is created with secure permissions, falling back to the temp directory if creation fails - Update log file path to use the resolved log directory fix #58 Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
appleboy force-pushed log from 5de6d90e25 to 3504c8ed51 2025-06-13 09:37:11 +00:00 Compare
lunny approved these changes 2025-06-13 19:30:09 +00:00
lunny merged commit 94aa8dc572 into main 2025-06-13 19:30:15 +00:00
lunny deleted branch log 2025-06-13 19:30:15 +00:00
Sign in to join this conversation.
No description provided.