diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-02 16:27:30 -0600 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-02 16:27:30 -0600 |
| commit | 378d4cdf1501c5ff186f311a2edcdc85a2e03e30 (patch) | |
| tree | cb1cde374392614403de5c58db6eb698945d4bee /libs/plugin_python/src/plugin_python_en.ts | |
| parent | eaabd444c0f54b58e3179c6312b867d1e63e54c1 (diff) | |
Fix VFS staging permissions and createTarget routing
Two fixes:
1. copyOnWrite() preserves source file permissions via fs::copy_file().
If the source was read-only (Steam game files, Windows mod archives),
the staging copy was also read-only, causing writes to fail with
EACCES. Now adds owner_write permission after copying.
2. createTarget from the saves mapping (which targets __MO_Saves in
My Games, not the Data dir) was incorrectly setting m_customOutputDir,
causing ALL VFS staging files to flush to the profile saves directory
instead of overwrite. Now only data-dir mappings can set the custom
output directory.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/src/plugin_python_en.ts')
0 files changed, 0 insertions, 0 deletions
