Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

7-zip access denied error when overwriting files in game folder (in program files)

未关闭
#87 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
python
领域
cli, desktop

调研方向

该问题涉及 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
星标
214
派生
12
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

07th-mod/python-patcher 的其他 Issue

查看 07th-mod/python-patcher 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。