7-zip access denied error when overwriting files in game folder (in program files)
還沒有人認領這個 Issue。
評估
研究方向
該問題涉及 7-zip 因存取被拒錯誤而無法覆寫 Windows Program Files 目錄中的檔案。首先檢查修補程式的檔案擷取邏輯,可能位於處理 7-zip 呼叫或檔案操作的模組中。在裝有防毒軟體且使用非管理員使用者的 Windows 虛擬機器上重現該錯誤,以了解確切條件。檢查修補程式如何處理檔案權限和覆寫操作,並尋找在受保護目錄中移動或刪除檔案的現有程式碼。
由索引模型根據 Issue 內容生成。
描述
Some users have been reporting an error something like:
ERROR: Can not delete output file : Access is denied. : C:\Program Files (x86)\GOG Galaxy\Games\Umineko When They Cry - Question Arcs\BGM\system0.ogg
I've seen this happen to a higurashi user, and two umineko users (one using GOG Galaxy).
Some things with this issue:
- running the installer again doesn't fix the error (it will fail every time)
- running as administrator doesn't fix the error (hopefully when this was done it actually made 7zip also run as admin mode)
- moving the game folder somewhere other than program files first did seem to solve the issue (only one person has tried this though)
- probably has to do with overwriting files in the 'program files' folder of windows
I would like to test some things on a windows virtual machine (add antivirus software, run as a non-admin user etc.) to see if I can reproduce the error, but I haven't done so yet.
Higurashi example error:
ERROR: Can not open output file : Access is denied. : c:\program files (x86)\steam\steamapps\common\Higurashi 03 - Tatarigoroshi\HigurashiEp03_Data\StreamingAssets\CG\sprite\normal\re2b_komaru_b1_1.png
ERROR: Can not open output file : Access is denied. : c:\program files (x86)\steam\steamapps\common\Higurashi 03 - Tatarigoroshi\HigurashiEp03_Data\StreamingAssets\CG\sprite\normal\re2b_komaru_b1_2.png
ERROR: Can not open output file : Access is denied. : c:\program files (x86)\steam\steamapps\common\Higurashi 03 - Tatarigoroshi\HigurashiEp03_Data\StreamingAssets\CG\sprite\normal\re2b_warai_b1_0.png
ERROR: Can not open output file : Access is denied. : c:\program files (x86)\steam\steamapps\common\Higurashi 03 - Tatarigoroshi\HigurashiEp03_Data\StreamingAssets\CG\sprite\normal\re2b_warai_b1_1.png
Note that for umineko, currently there are only 3 files which fail to be overwritten:
- movie\umineko_op.mpg
- movie\umineko_op3.mpg
- BGM\system0.ogg (if using the bgm music patch)
- 主要語言
- JavaScript
- 星號
- 216
- 分支
- 12
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
07th-mod/python-patcher 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 75/100
07th-mod/python-patcher#214 ·
-
難度 2/5 1-3 小時 新手友好度 65/100
07th-mod/python-patcher#193 ·
-
難度 1/5 1 小時以內 新手友好度 75/100
07th-mod/python-patcher#137 ·
-
enhancement help wanted
難度 2/5 1-3 小時 新手友好度 70/100
07th-mod/python-patcher#83 ·
-
難度 2/5 1-3 小時 新手友好度 65/100
07th-mod/python-patcher#80 · 11 則留言 ·
查看 07th-mod/python-patcher 的全部 Issue
相似的 Issue
-
🐛 bug
難度 2/5 1-3 小時 新手友好度 78/100
LibreChat-AI/LibreChat#17887 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
liveshowy/webauthn_components#118 ·
-
難度 2/5 1-3 小時 新手友好度 86/100
showdownjs/showdown#1113 ·
-
難度 2/5 1-3 小時 新手友好度 82/100
dependents/node-precinct#167 ·
-
難度 2/5 1-3 小時 新手友好度 66/100
volumio/volumio-plugins-sources-bookworm#279 · 1 則留言 ·
維護者通常 1 天內回覆