STZIP - Cannot Write File

All about the serious stuff.

Moderators: Mug UK, Zorro 2, Moderator Team

User avatar
EmpireAndrew
Captain Atari
Captain Atari
Posts: 444
Joined: Fri Jul 15, 2016 5:46 pm
Location: Texas, USA

STZIP - Cannot Write File

Postby EmpireAndrew » Wed Apr 24, 2019 12:53 am

Per the title, is this a common error when trying to extract?

I'm wondering if the issue is the (downloaded) zip file being incompatible with stzip?
It seems weird as I downloaded a bunch of zip files from one site and some open just fine using stzip, but the majority don't...
Re-downloading didn't help and in any case ye olde winzip on my Windows 98 box had no problem extracting them.

Are there any known issues with ST Zip (2.6) under MINT?
I suppose not or it wouldn't extract anything...

My guess is that someone chose to upload some files in an stzip compatible zip file, and others in an incompatible format. :evil: :roll:
1977 VCS Heavy Sixxer (Boxed)
1990 Atari 1040STE, 4MB, UltraSatan, TOS 2.06, TT Touch -> Atari SC1435 Colour CRT Monitor
1991 Atari TT030, 2/64MB, Int 8GB Gigafile SCSI2CF, TOS 3.06, CaTTamaran Accelerator -> Atari TTM195 19" Mono CRT Monitor
1993 Atari Falcon030, 14MB, Int 8GB HDD, TOS 4.04 -> Atari PTC1426 Color CRT Monitor
Amiga, Mac, DOS, SGI, Sun, NeXTStation, PDA's and more!

User avatar
mfro
Atari Super Hero
Atari Super Hero
Posts: 808
Joined: Thu Aug 02, 2012 10:33 am
Location: SW Germany

Re: STZIP - Cannot Write File

Postby mfro » Wed Apr 24, 2019 5:01 am

I think I have seen the same thing as well.

If I'm not mistaken, that isn't STZIPs fault but caused by the original packer that packed directories in a mode that doesn't allow STZIP to create files inside when it comes to unpacking.
Look at the read/write permits of the created directory - if they are '000', you have the same issue.

User avatar
AdamK
Captain Atari
Captain Atari
Posts: 291
Joined: Wed Aug 21, 2013 8:44 am

Re: STZIP - Cannot Write File

Postby AdamK » Wed Apr 24, 2019 5:11 am

Most likely they are incompatibilie with ST-ZIP. This is not a choice, most people are not aware of a problem. You can try UNZIP, it should be able to handle all ZIP files.
Atari: FireBee, Falcon030 + CT60e + SuperVidel + SvEthlana, TT, 520ST + 4MB ST RAM + 8MB TT RAM + CosmosEx + SC1435, 1040STFM + UltraSatan + SM124, 1040STE 4MB ST RAM + 8MB TT RAM + CosmosEx + NetUSBee + SM144 + SC1224, 65XE + U1MB + VBXE + SIDE2, Jaguar, Lynx II, 2 x Portfolio (HPC-006)

Adam Klobukowski [adamklobukowski@gmail.com]

mikro
Hardware Guru
Hardware Guru
Posts: 2034
Joined: Sat Sep 10, 2005 11:11 am
Location: Kosice, Slovakia
Contact:

Re: STZIP - Cannot Write File

Postby mikro » Wed Apr 24, 2019 6:19 am

mfro wrote:I think I have seen the same thing as well.

If I'm not mistaken, that isn't STZIPs fault but caused by the original packer that packed directories in a mode that doesn't allow STZIP to create files inside when it comes to unpacking.
Look at the read/write permits of the created directory - if they are '000', you have the same issue.

Actually it works both ways - many times I couldn't access depacked files in my linux shell because someone on Atari packed it with '000' permissions.

User avatar
Rajah Lone
Captain Atari
Captain Atari
Posts: 454
Joined: Wed Aug 07, 2002 12:27 pm
Location: Lyon / France
Contact:

Re: STZIP - Cannot Write File

Postby Rajah Lone » Wed Apr 24, 2019 10:22 am

EmpireAndrew wrote:Are there any known issues with ST Zip (2.6)?


- do not add or delete a file into an populated zip file with STZIP: it will corrupt this zip file. Always make new zip archives.
- STZIP is old and unmaintained. Some deflate methods will not be supported.

User avatar
EmpireAndrew
Captain Atari
Captain Atari
Posts: 444
Joined: Fri Jul 15, 2016 5:46 pm
Location: Texas, USA

Re: STZIP - Cannot Write File

Postby EmpireAndrew » Wed Apr 24, 2019 10:58 am

Thanks guys!

I checked one of the archives by unzipping it on my Linux daily driver, and the permissions on the file and directory seem correct (as in they were created with correct permissions on my nix box). However, on some of the other archives it did indeed create directories and files with 000 permissions so I had to manually add sensible ones to the containing folder and propagate....

So it seems it's a mix of issues...

The strange thing is the original error I posted is not from one with the permissions problem (it may throw the same error for the others that do have permissions 000 though) and STZip can read the archive and the verify option even works on each file therein...
1977 VCS Heavy Sixxer (Boxed)
1990 Atari 1040STE, 4MB, UltraSatan, TOS 2.06, TT Touch -> Atari SC1435 Colour CRT Monitor
1991 Atari TT030, 2/64MB, Int 8GB Gigafile SCSI2CF, TOS 3.06, CaTTamaran Accelerator -> Atari TTM195 19" Mono CRT Monitor
1993 Atari Falcon030, 14MB, Int 8GB HDD, TOS 4.04 -> Atari PTC1426 Color CRT Monitor
Amiga, Mac, DOS, SGI, Sun, NeXTStation, PDA's and more!


Social Media

     

Return to “Applications”

Who is online

Users browsing this forum: No registered users and 2 guests