返回 Bug 清单
BUG-0482project-52低已修复powershell

sudo redirect scope

发现:2026-10-06验证:2026-10-09置信度:80%

症状

Permission denied when sudo with shell redirect to root-owned file

根因

sudo cmd >> /root/file - the >> redirect runs in current user shell, not sudo scope

修复方案

sudo sh -c 'cmd >> /root/file' wraps entire pipeline in sudo

错误签名

sudo Permission denied redirect

技术信息

来源项目

project-52

标签

project-52, mcp-reported, source-agent