I think I've found the root cause of the `I/O Operation Failed` errors (same as #2185 and #828).
Maintainers usually reply within 1 day
@LionelColaso is already working on this.
Since Oct 16, 2026.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 15/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- powershell, python
- Domain
- desktop-dev
Research direction
The bug sits where RimSort creates the steam\steamapps\workshop\content\294100 junction for SteamCMD and where it prompts "Re-create Symlink?". Start by reproducing the report: run RimSort, check the Redirection Guard state with the PowerShell snippet in the issue, then run SteamCMD's workshop download. Done means the link stays traversable when the guard is on, or the trigger that enables the guard is identified. The reporter's untrusted-mount-point evidence is the main lead, so verify it before changing link creation.
Written by the indexing model from the issue text.
Description
Release Type
Compiled (Windows x86-64)
Version
RimSort v1.15.1-edge2
Operating System
Windows 11 Pro build 26200
Relevant logs
No response
Describe the bug
During a session, RimSort.exe can end up with Windows' Redirection Guard process mitigation (ProcessRedirectionTrustPolicy) switched on. SteamCMD is started as a child of RimSort and therefore inherits it. With Redirection Guard on, Windows 11 won't follow junctions or symlinks created by non-admins, so SteamCMD cannot get through the steam\steamapps\workshop\content\294100 link that RimSort creates. SteamCMD's logs\workshop_log.txt shows the error:
Update canceled: Install folder not writable (Disk write failure) "...\steamapps\workshop/content/294100"
Download item xxxx result : I/O Operation Failed
Normal shells don't have this mitigation, therefore running the script by hand in a prompt works. Reinstalling SteamCMD doesn't help, as the symlink is still created by a non-admin. Running RimSort as admin will work, as the link would be created by an admin and therefore trusted.
How I confirmed it
GetProcessMitigationPolicy(ProcessRedirectionTrustPolicy)on the running RimSort.exe returnedEnforceRedirectionTrust = 1. explorer.exe and a normal PowerShell returned 0.- In a separate PowerShell process with the policy switched on via
SetProcessMitigationPolicy, listing through the junction fails withERROR_UNTRUSTED_MOUNT_POINT(448): "The path cannot be traversed because it contains an untrusted mount point." Child processes started from it also reportEnforceRedirectionTrust = 1, so the policy is inherited. - Running
steamcmd.exe +runscriptwith the same script RimSort writes, from that process, reproducesI/O Operation Failedexactly. The same command from a normal shell succeeds. - A directory symlink created by a non-admin (Developer Mode on) is blocked the same way, so switching from a junction to a symlink wouldn't help.
- After recreating the junction from an elevated prompt with
mklink /J(owner becomesBUILTIN\Administrators), it can be traversed with the policy on, and SteamCMD downloads succeed.
To check a running RimSort (prints 1 if the guard is on):
Add-Type @"
using System; using System.Runtime.InteropServices;
public static class RGCheck {
[DllImport("kernel32.dll")] public static extern IntPtr OpenProcess(uint a, bool i, int p);
[DllImport("kernel32.dll")] public static extern bool GetProcessMitigationPolicy(IntPtr h, int p, out uint v, UIntPtr l);
}
"@
$h = [RGCheck]::OpenProcess(0x1000, $false, (Get-Process RimSort).Id)
$v = [uint32]0; [RGCheck]::GetProcessMitigationPolicy($h, 16, [ref]$v, [UIntPtr]4) | Out-Null
"EnforceRedirectionTrust = $($v -band 1)"
Unsure as to what switches it on
Sometimes, a RimSort session will load with the policy disabled (EnforceRedirectionTrust = 0), preventing the bug. Sessions with the bug report (``EnforceRedirectionTrust = 1). RimSort's code never calls SetProcessMitigationPolicy`, and there's no IFEO/Exploit Protection entry for RimSort.exe.
Workaround for users
Close RimSort, then run these in an administrator Command Prompt. These will just remove the existing symlink, not the mods.
rmdir "<SteamCMD folder>\steam\steamapps\workshop\content\294100"
mklink /J "<SteamCMD folder>\steam\steamapps\workshop\content\294100" "<RimWorld folder>\Mods"
Afterwards, decline RimSort's "Re-create Symlink?" prompt, or it will replace the trusted link with an untrusted one.
Additional context
No response
Code of Conduct
I agree to follow this project's Code of Conduct
Duplicate Issue Check
I've checked for similar issues and didn't find anything
Wiki/FAQ Check
I've checked the Wiki for a solution and didn't find a solution
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 155
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 71
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RimSort/RimSort
-
bugs 🪲
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
feature/improvement 🆕
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bugs 🪲
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
Maintainers usually reply within 1 day
-
feature/improvement 🆕
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
Maintainers usually reply within 1 day
-
bugs 🪲
Difficulty 4/5 3-5 days Newbie friendliness 45/100
RimSort/RimSort#2668 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
hugohe3/ppt-master#366 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 89/100
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
521xueweihan/HelloGitHub#4716 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
pcqpcq/open-source-android-apps#619 ·
Maintainers usually reply within 1 day
-
contribution Windows 主机
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Lee-xeo/Claude-Cage#1519 ·
Maintainers usually reply within 1 day