fix(agent): a read grant Windows refuses does not stop the Windows sandbox's command #169
No reviewers
Labels
No labels
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Beanstalk!169
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Beanstalk:fix/windows-read-grant-refused"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
On some Windows testers a job fails at its start:
WinError: SetNamedSecurityInfoW (<game files>: the agent must own the folder, or be let change its permissions)(17 tries in the last day, the latest minutes ago). The agent gives the sandbox read access to the game files by adding an ACE for its SID, which needs the folder's owner or WRITE_DAC; a game folder or file on another account's folder or on a drive without permissions refuses it, and the whole try died there even when the folder is already readable.A read grant that Windows refuses is now skipped: the command goes on with the folder's own permissions, and the log says so (
@@sandbox the sandbox could not be granted read on a file it will read (SetNamedSecurityInfoW ...: error N ...), the error code included). If the sandbox truly can't read it, the command fails there, naming the path, as before but with the real reason. A grant of more than reading (a writable folder) is never skipped.Testing
Not run on this PC (Windows-only code; the farm's Windows testers verify it after the nightly: those tries should pass, or show the code in the log).
Co-Authored-By: Claude Sonnet 5.5 [email protected]
🤖 Generated with Claude Code
Possibly related, for context: