Replies: 1 comment
|
这个问题有一个临时的解决方案,可以在命令行中执行 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
[Windows] 0.1.7-rc.2 沙箱 grantWrite 失败:SetNamedSecurityInfoW failed (Win32 5),shell 命令全部被拒
Summary
Windows 上从 0.1.5-rc.1 升级到 0.1.7-rc.2 后,Windows ACL 沙箱在为工作区授权写权限时失败:
导致该工作区内所有 shell 命令被拒绝执行;文件读写工具不受影响。同一台机器、同一批目录在 0.1.5-rc.1 下该机制工作正常(目录 ACL 中仍留有旧版本成功授权写入的能力 SID Allow ACE)。
Reproduction
@deepseek-ai/dsh@0.1.7-rc.2,以dsh web启动D:\deepseek-harness\工作区)Current behavior
SetNamedSecurityInfoW failed (Win32 5): grantWrite(<工作区路径>),shell 命令全部被拒SandboxProvider.confine异步化)Expected behavior
目录权限健康时
grantWrite应成功,shell 命令在workspace-write沙箱内正常执行,与 0.1.5 行为一致。Environment
dsh web模式)DSH_PERMISSION_MODE=danger-full-access后 shell 命令恢复正常All reactions