From 78fcacfac3e35c278c4d5e3b7012f05306d189f4 Mon Sep 17 00:00:00 2001 From: Rongsong Shen Date: Sat, 26 Sep 2026 08:13:24 +0000 Subject: [PATCH] chore(buglog): bug-1869 fixed (5df33e69) Co-Authored-By: Claude Opus 5.5 (1M context) --- .wolf/buglog.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.wolf/buglog.json b/.wolf/buglog.json index a18d6af8..c6510014 100644 --- a/.wolf/buglog.json +++ b/.wolf/buglog.json @@ -28134,9 +28134,9 @@ }, { "id": "bug-1869", - "status": "open", + "status": "fixed", "status_updated": "2026-09-26", - "status_note": "fix: O_NOFOLLOW on both, or move these files under a root-owned directory (e.g. the worker's log dir / /run)", + "status_note": "5df33e69: xcecd_open_owned_file()/xcecd_owned_file_exists() (xcecd_tmpfile.h) for the worker log, xcecd_worker.log and restart flag; fchmod instead of chmod(path).", "timestamp": "2026-09-26T07:55:23Z", "error_message": "Other root-owned opens of fixed /tmp names in the worker daemon follow symlinks: process_worker_manager.c opens /tmp/xcecd_worker.log O_WRONLY|O_CREAT|O_APPEND (xcecd_worker's stdout/stderr appended through a planted symlink into any file), and xcecd_prepare_restart() (xcecd.c) opens /tmp/.xcecd.restarting O_CREAT|O_WRONLY (creates an empty root-owned file at a dangling symlink's target)", "file": "src/worker/src/process_worker_manager.c, src/worker/src/xcecd.c",