Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#87 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cli, desktop

Hướng nghiên cứu

Vấn đề liên quan đến việc 7-zip không thể ghi đè tệp trong các thư mục Windows Program Files do lỗi truy cập bị từ chối. Bắt đầu bằng cách kiểm tra logic trích xuất tệp của trình vá, có thể nằm trong một mô-đun xử lý các lệnh gọi 7-zip hoặc thao tác tệp. Tái tạo lỗi trên máy ảo Windows có cài phần mềm diệt virus và người dùng không phải quản trị viên để hiểu rõ điều kiện chính xác. Kiểm tra cách trình vá xử lý quyền tệp và ghi đè, đồng thời tìm kiếm mã hiện có di chuyển hoặc xóa tệp trong các thư mục được bảo vệ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)
Ngôn ngữ chính
JavaScript
Star
214
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của 07th-mod/python-patcher

Tất cả issue của 07th-mod/python-patcher

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.