Monday, October 28, 2024

Re: pax mis-attributing errors to Ustar?

Дана 24/10/28 05:16PM, Robert B. Carleton написа:
> A correction. file(1) reports "POSIX tar archive" for both pax and ustar
> archives.

OpenBSD file(1) is very rudimentary in general. As an example, try
using file(1) on a Microsoft Word .docx document or Excel .xlsx
spreadsheet, or `file -i` on a MS Word .doc document (gives
"application/octet-stream" instead of "application/msword").

This is because of security, and it is a valid reason. However, it
should be kept in mind when dealing with OpenBSD file(1).

No comments:

Post a Comment