View Issue Details

IDProjectCategoryView StatusLast Update
0000660fileGeneralpublic2025-05-21 13:28
Reporterfelipeapolanco Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version5.44 
Summary0000660: zstd files are not handled correctly
DescriptionHi,

We are facing an issue with the file command -z argument, which should report back the content type of the compressed file.

With gzip files:
# file -z ls.gz
ls.gz: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV) (gzip compressed data, was "ls", last modified: Wed May 21 12:48:33 2025, from Unix)

With zstd files:
# file -z ls.zst
ls.zst: empty (Zstandard compressed data (v0.8+), Dictionary ID: None)

It should state the content type of the compressed ls command, but is returning empty.

# file --version
file-5.44
magic file from /etc/magic:/usr/share/misc/magic
Steps To Reproduce# cd /var/tmp/
# cp /usr/bin/ls ls
# zstd ls
# file -zSb ls.zst
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-05-21 13:28 felipeapolanco New Issue