Open pxdl opened 8 months ago
While trying to extract some archives in the browser environment with the
sevenZip.callMain(["x", archiveName, "-oextracted"]);
command, 7zip will simply show the following errors:
ERROR: Cannot create folder ERROR: Cannot open output file : errno=2 : Permission denied
This only seems to happen with some archive files.
Testing with
sevenZip.callMain(["t", archiveName]);
before extraction returns an Everything is Ok message from 7zip.
Everything is Ok
Setting permissions with
sevenZip.FS.chmod(archiveName, 0o777); sevenZip.FS.chmod("/extracted", 0o777);
also seems to have no effect either.
Here are some examples of archives that can be extracted: https://github.com/CTCaer/hekate/releases/download/v6.0.7/hekate_ctcaer_6.0.7_Nyx_1.5.6.zip https://github.com/Atmosphere-NX/Atmosphere/releases/download/1.6.2/atmosphere-1.6.2-master-f7bf379cf%2Bhbl-2.4.4%2Bhbmenu-3.6.0.zip
Here are some exapmles of archives that cannot be extracted: https://github.com/HamletDuFromage/aio-switch-updater/releases/download/2.23.2/aio-switch-updater.zip https://github.com/ndeadly/MissionControl/releases/download/v0.10.0/MissionControl-0.10.0-master-38c9879.zip
What could be possibly causing these issues? Are these archives being created differently?
While trying to extract some archives in the browser environment with the
command, 7zip will simply show the following errors:
This only seems to happen with some archive files.
Testing with
before extraction returns an
Everything is Ok
message from 7zip.Setting permissions with
also seems to have no effect either.
Here are some examples of archives that can be extracted: https://github.com/CTCaer/hekate/releases/download/v6.0.7/hekate_ctcaer_6.0.7_Nyx_1.5.6.zip https://github.com/Atmosphere-NX/Atmosphere/releases/download/1.6.2/atmosphere-1.6.2-master-f7bf379cf%2Bhbl-2.4.4%2Bhbmenu-3.6.0.zip
Here are some exapmles of archives that cannot be extracted: https://github.com/HamletDuFromage/aio-switch-updater/releases/download/2.23.2/aio-switch-updater.zip https://github.com/ndeadly/MissionControl/releases/download/v0.10.0/MissionControl-0.10.0-master-38c9879.zip
What could be possibly causing these issues? Are these archives being created differently?