Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Password-Protected Compressed Files Cause Script to Hang #28

@deere-eh

Description

@deere-eh

When the script encounters a password-protected compressed file (ZIP), it hangs upon waiting for user input and outputs the password prompt to stderr. Expected behavior would be to skip the password-protected file and issue a warning to stdout and/or stderr.

Example (stderr):

error: -fn or any combination of -c, -l, -p, -t, -u and -v options invalid
unzip: cannot find or open /hadoop-yar, /hadoop-yar.zip or /hadoop-yar.ZIP.
unzip: cannot find or open /hadoop-yar, /hadoop-yar.zip or /hadoop-yar.ZIP.
Enter password:

The final line is the only indication that a password protected file was encountered and there are no further logs beyond it after the script hangs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions