victory play: a start below Medium integrity says why it cannot write, and the icacls fix (#706) #3215
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#3215
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@kibagami-nc on GitHub · 2026-11-29 20:46 UTC · original
From #706.
What happens
On some PCs,
victory playstops at its start:That happens even though
cmdin the same session can create that folder. In #706 it looked random and was blamed on the antivirus. @akabkgod found the cause:victory.execarried a Low integrity label, inherited from the folder it was extracted into (icacls victory.exeshowedMandatory Label\Low Mandatory Level:(I)(NW)).%LOCALAPPDATA%\victoryis one.icacls victory.exe /setintegritylevel Mmade the logger write on the next start.The change
A start below Medium now prints, beside the existing memory warning and before the home folder is created:
integrity_levelreads it from the process token's mandatory label (OpenProcessToken,GetTokenInformation(TokenIntegrityLevel), the SID's last sub-authority).integrity_warningturns the level into the text, and says nothing at Medium and above, or when the level can't be read.apps/victoryaskswindows-sysforWin32_SecurityandWin32_System_Threadingtoo.Cargo.lockdoesn't change.Nothing changes at Medium or High, which is every ordinary start.
Tests
play::tests::a_start_below_medium_integrity_is_warned_with_the_fix:icaclsline;cargo test -p victory --locked: 80, 1 and 2 passed.cargo clippy -p victory --all-targets: nothing inplay.rs.Not run here at Low itself: no PC here has a Low-labelled copy.
Pull request details or commits were not available from GitHub; kept as an issue.
victory-image-*.dll+0x1330a44#706