Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MC can't work with a zip file #4241

Open
mc-butler opened this issue May 13, 2021 · 4 comments
Open

MC can't work with a zip file #4241

mc-butler opened this issue May 13, 2021 · 4 comments
Labels
area: vfs Virtual File System support prio: low Minor problem or easily worked around

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/4241
Reporter birdie (aros@….com)
  1. The single file inside this zip file is identified as a directory.
  2. You cannot extract, rename or delete it.

Note

Original attachments:

  • 1.zip (raw) by birdie (aros@….com) on May 13, 2021 at 13:26 UTC
@mc-butler
Copy link
Author

Changed by birdie (aros@….com) on May 13, 2021 at 13:26 UTC

@mc-butler
Copy link
Author

Changed by birdie (aros@….com) on May 13, 2021 at 13:29 UTC (comment 1)

To be honest unzip struggles with this file, but 7z works beautifully with it.

@mc-butler
Copy link
Author

Changed by cieply (worker@….pl) on Nov 27, 2022 at 23:18 UTC (comment 2)

This zip file is corrupted and has nothing to do with mc. Just checked with unzip and 7z and bot have a problem with it, and 7z more. Unzip can at least decompress it to stdout, 7z can't.

@mc-butler
Copy link
Author

Changed by birdie (aros@….com) on Nov 28, 2022 at 4:14 UTC (comment 3)

unzip -l 1.zip; echo $?
Archive:  1.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
     3223  01-01-2017 04:46   
---------                     -------
     3223                     1 file
0

The archive is valid, it's just a single file inside which has a weird name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: vfs Virtual File System support prio: low Minor problem or easily worked around
Development

No branches or pull requests

1 participant